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 table with sales data for last year and this year. I have visuals that show these data, and I also want to add a visual with today's sales figures.
What is the best way to only filter records with Today's date?
Thanks
Solved! Go to Solution.
Hi @Anonymous,
Add a column in your date table by using the DAX expression below.
Today = IF(Table1[Date]=TODAY(),1,0)
Then in your visual which you only show today's sales, add a filter like below:
Regards,
Charlie Liao
Hi @Anonymous,
Add a column in your date table by using the DAX expression below.
Today = IF(Table1[Date]=TODAY(),1,0)
Then in your visual which you only show today's sales, add a filter like below:
Regards,
Charlie Liao
Worked. Thank you.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |