Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Team, I have data in the attached image format
and I need to generate Rolling 12 month matrix for DealerType based on the year & month selected by user. Sample output is in the attached image:
Please share a sample working solution.
Greatly appriciate your assistance.
Thank you.
Hi,@chinma I am glad to help you.
Hello,@VijayP ,thanks for your concern about this issue.
Your answer is excellent!
Has your problem been solved? If your problem has been solved, please mark the suggestion to solve the problem as a solution!
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
First thing you must have a date column
So Create a concatenated column using all the date parts in your data
Then you must have a date dimension table and connect that table to your data table
Then you must use this DAX
Calculate(sum(valuecolumn),
filter(allselected(datedimension),Datedimension[Date]<=max(Datedimension[Date]))
and you will get the required rolling 12 months
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |