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.
I have data for last 2 months of a year 2018.I have created all the necessary measures and columns as well as tables following this tutorial http://sqljason.com/2018/03/display-last-n-months-selected-month-using-single-date-dimension-in-powe....This is my dashboard.
but when i am choosing the date as August 2018 and selecting the slider to show the data for last 2( or any number) months then i am not getting the required result. This is the measure i am using
Scan (last n months) =
CALCULATE (
COUNT('Scan'[Data ID]),
DATESINPERIOD ('Date'[Date],MAX('Date'[Date]),-[N Value],MONTH )
)
No data for previous months of August 2018
Hi @Anonymous ,
We think the problem may be with the filed used in slicer.
Please try using ‘Date’ table’s [monthyear] to create a slicer.
Here is an simple,
Before this, we need to create a relationship between date table and Scan table.
If it doesn’t meet your requirement, could you please show the exact expected result based on the table that we have shared?
Best regards,
Could you please share the pbix file with me
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 |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |