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.
Hello,
I have created table in power BI desktop with hard coded dates which contains the last date of each year.
I have created measure C as C = MAX(Date). I am using this Date column as slicer.
I am using the selected dates all over the reports in measures. Year(C) for comparison.
But data is not coming up properly. When i am trying C = DATE(2018,12,31) then its working as expected but not for C(DATE). The Date format is also same.
Can anybody help me with this issue.
Solved! Go to Solution.
Hi @Anonymous,
I modify the measure based on your data to return Year(measure) value:
Best Regards,
Qiuyun Yu
Hi @Anonymous,
You can create a measure below to get selected value in the slicer:
Best Regards,
Qiuyun Yu
I tried the above soplution but the data is not getting filtered when i am trying to use it in measure Year(Measure).
I have also attached the data i have entered in Power BI table.
Hi @Anonymous,
I modify the measure based on your data to return Year(measure) value:
Best Regards,
Qiuyun Yu
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 |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |