Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Shri_mukherjee
Frequent Visitor

Dynamically populate rows in a dataset based on slicer selection

Hi

 

I have to write a DAX code that will show  for a month number it is an actual or forcast. I tried with selected value, however its not giving the proper result. The condition is that

 

if the month num (from dataset ) in a row <= Month Num in slicer (coming from distict calender table), it should be actual , else forcast.

With the selected value DAX function, I was hoping that the rows will show up right, but it is not. Please help.Screenshot (328).png

1 REPLY 1
harshnathani
Community Champion
Community Champion

@Shri_mukherjee ,

 

Can you share some sample data and expected output.

 

Regards,

Harsh Nathani

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors