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.
Hii,
Please help me how to create a measure to show total sales for Today (TOD) and current week to date (WTD) in DAX and Power BI Desktop.
TOD = CALCULATE([Total Sales], ???)
WTD = TOD = CALCULATE([Total Sales], ???)
I have Sales and Date tables. Measures for YTD, QTD, MTD all working fine.
Thanks,
Solved! Go to Solution.
For today = CALCULATE([Total Sales],Datefield = TODAY())
For Week to Date - http://radacad.com/week-to-date-calculation-in-power-bi-with-dax
Please do refer the below link for the same,
http://radacad.com/week-to-date-calculation-in-power-bi-with-dax
Hi @ranaanees,
Have you solved your problem?
If you have solved, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share some data sample and your desired output.
Best Regards,
Cherry
Please do refer the below link for the same,
http://radacad.com/week-to-date-calculation-in-power-bi-with-dax
For today = CALCULATE([Total Sales],Datefield = TODAY())
For Week to Date - http://radacad.com/week-to-date-calculation-in-power-bi-with-dax
I need is without slicer. Will display in a Card on Dashboard along with YTD, QTD, MTD.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |