Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |