Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I am calculating total YTD using the following:
TOTALYTD(sum(Insurance[Incident]),'Date'[Date])
The issue is the YTD is calculated for all dates instead of just the related dates from Insurance fact table.I want to filter out the dates from Date dimension that do not match the dates in the Insurance table.The Insurance table is joined with Date table using FirstDayofMonth date field.
I tried a couple filter arguents,but no luck.Pls help
@Anonymous,
For time intelligence function, you could implement a custom DAX formula.
https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/
User | Count |
---|---|
16 | |
5 | |
2 | |
1 | |
1 |
User | Count |
---|---|
22 | |
3 | |
3 | |
2 | |
1 |