The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello, wondering if someone can help me with a Date slicer / measure question.
I have a sales table linked to DATE_DIM table.
The Date slicer is to select the period(multiple months) so I can get the YTD sales figures. However I would like to update some of my measures to only display the last month on the date slicer.
For an example is I am showing YTD sales for July - December period, how can I write the measure to calculate the sales based on the last month selected in the date range (e.g. December?)
I was using the measure below however this is not working as I want the user to be able to look at prior months based on the dates selected in the slicer.
Any help would be greatly appreciated.
Thanks
Solved! Go to Solution.
Solved the query - here's my updated measure
Solved the query - here's my updated measure
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
11 | |
9 | |
8 |