Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |