Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I'm facing a rather strange problem wich i'm unable to find a solution for.
i have a
Diagram that compares rolling 12month sales for the last 3 years.
when i plot this on the month based on the month number it is showing nicely.
But when i want to put the same date in a matrix but without the use of the month's i'm getting cummulated numbers:
is there anybody that can get me in the correct direction to find out what is going on.
I know when i put a date in the rows as first the output is correct but i do not want a date in the column.
just to clarify YTD = Rolling12months in this report and is build like:
YTD 2023 =
VAR _EndDate = TODAY()
VAR _StartDate = EDATE(_yesterday, -12)
RETURN
CALCULATE( [Totale sales INV], 'Boekjaar INV'[Date]>=_StartDate && 'Boekjaar INV'[Date] <= _EndDate)
As a best practice, when you are working with dates, add a date dimension in your model and use it for time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools. Check the related videos on my YT channel
Add Date Dimension
Importance of Date Dimension
Mark date dimension as a date table - why and how?
Time Intelligence Playlist
What do you expect the output to be in the matrix visual? Do you think the line visual is working as expected?
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.
User | Count |
---|---|
92 | |
87 | |
77 | |
73 | |
68 |
User | Count |
---|---|
116 | |
107 | |
88 | |
65 | |
63 |