Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a unique problem. I've created almost identical measures below:
Consumer Complaints 2018 YTD = CALCULATE(SUM('QA Data'[Total Complaints]) , DATEADD(DATESYTD('Calendar'[Date]), -1,YEAR))
Consumer Complaints 2019 YTD = CALCULATE(SUM('QA Data'[Total Complaints]) , DATEADD(DATESYTD('Calendar'[Date]), 0,YEAR))
The 2018 YTD Total has the 2019 numbers in it and the 2019 YTD has NO TOTAL:
[Total Complaints] are set to Sum on Default Summarization. Data Type is Whole Number. I am using a Clanader Table.
How do I add filters to this get the correct totals???
Any help would be appreciated.
Thanks so much,
John
Another piece of information...
The 2019 YTD measure is summing on the TOTAL line of thre 2018 YTD measure.
1513+176+155+211+54+0=2,209
It seems that there is no data for the last year of calendar table.
The last date of my calander table goes to 12/31/2020 so 2019 has all dates in the date column. Is this what you are referring to?
@kozlevchar what column you have on the rows?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
The columns are Group and Factory (Text)
User | Count |
---|---|
102 | |
91 | |
87 | |
79 | |
71 |
User | Count |
---|---|
113 | |
105 | |
101 | |
75 | |
64 |