Skip to main content
Solved

Lookup Property of One Dimension On Another

  • March 13, 2025
  • 3 replies
  • 122 views

Forum|alt.badge.img+3

I have calculate the First Workday on the Day Dimension and want to look up that date on the Month dimension. How can I lookup the First Workday on the Day dimension from the Month dimension. Screenshots below:

 

 

Best answer by Nathan

your property should be of type Day, not Date

 

if you want the date, then formula is even simpler:

Day.First_Workday[by firstnonblank: Day.Month]

3 replies

Nathan
Employee
Forum|alt.badge.img+12
  • Employee
  • March 13, 2025

Hi,

 

You can do:

 

IF(ISDEFINED(Day.First_Workday),Day)[by firstnonblank: Day.Month]

 

First part is checking if it is the first workday of the month and if yes, getting the day item. Then aggregates to the Month, which brings the day value to the month dimension


Forum|alt.badge.img+3
  • Author
  • Author
  • March 13, 2025

@Nathan  Unforntunately I get this error when using the formula 

 


Nathan
Employee
Forum|alt.badge.img+12
  • Employee
  • Answer
  • March 14, 2025

your property should be of type Day, not Date

 

if you want the date, then formula is even simpler:

Day.First_Workday[by firstnonblank: Day.Month]