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 a slicer that shows sales upto todays date in earlier month (eg. today it shows what we have sold each month upto the 18th):
Solved! Go to Solution.
Hi @sw123 ,
If Monthday=DAY(DateTable[Date]) is a measure,it should be modified as below:
Monthday=DAY(SELECTEDVALUE(DateTable[Date]))
If it doesnt work, pls show me your .pbix file.You can upload it to onedrive then share the link with us.
Hi, the easiest way, when your first formula works as expected, would be to replace the <= with <
Yesterdays date = if(DateTable[Monthday] < DAY(TODAY()); TRUE(); FALSE())
Thanx, but it still doesn't work. Does it have something to do with the Monthday, that is a measure in my date table:
Hi @sw123 ,
If Monthday=DAY(DateTable[Date]) is a measure,it should be modified as below:
Monthday=DAY(SELECTEDVALUE(DateTable[Date]))
If it doesnt work, pls show me your .pbix file.You can upload it to onedrive then share the link with us.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |