Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I'm trying to create a table/matrix visual where given data, I add a column that is MoM comparison, but only for the last month.
Given a Dummy table, I'd like my visual to present like that in April:
Dummy table in April:
The month before, upon no data of April, the visual would look like below:
I am able to create MoM measure for all months, and even only for the latest month, using methods similar to presented here.
The problem is that when I use that as a measure, in the best case, I can only get an empty MoM column for previous months. The goal is to have MoM column only at the end, and only for the most recent period.
Solved! Go to Solution.
@pkalisz The New Hotness (Custom Matrix Hierarchy) - Microsoft Power BI Community
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
You may download my PBI file from here.
Hope this helps.
Hello Ashish - can you please show the measure or how you did this? Your PBI file is no longer available to access and this would be very helpful for me. Thank you!
Hi,
I do not have the file. Share some data, explain the question and show the expected result.
Hello Ashish
I also have same requirement as PKALISZ.
I need to calculate MOM only for the last month as shown below
Thanks
Chetan
Hi,
Share data in a format that can be pasted in an MS Excel file.
Hi ashish
here is the data
order date | order qty | return qty |
01-01-2024 | 6 | 2 |
02-01-2024 | 7 | 2 |
01-02-2024 | 8 | 1 |
02-02-2024 | 6 | 3 |
01-03-2024 | 7 | 3 |
02-03-2024 | 8 | 2 |
Here is the report i need
Thank you much
Chetan
Thank you very much...it works
I forgot to mention that I also needed YoY next to MoM
order date | order qty | return qty |
01-03-2023 | 6 | 2 |
02-03-2023 | 7 | 3 |
01-01-2024 | 6 | 2 |
02-01-2024 | 7 | 2 |
01-02-2024 | 8 | 1 |
02-02-2024 | 6 | 3 |
01-03-2024 | 7 | 3 |
02-03-2024 | 8 | 2 |
here is the report
Thanks
Chetan
You are welcome. I do not know how to do that.
The data I would share would be very similar to the data originally posted by pkalisz:
I'm trying to create a table/matrix visual where given data, I add a column that is MoM comparison, but only for the last month.
Given a Dummy table, I'd like my visual to present like that in April:
Dummy table in April:
The problem is that when I use that as a measure, in the best case, I can only get an empty MoM column for previous months. The goal is to have MoM column only at the end, and only for the most recent period.
I'm also using a slicer to display date columns from a calendar table joined to my data. With this DAX - I am able to show MoM for last (2) months if ONLY those two months are filtered for matrix. BUT if I expand the slicer to include a 3rd month, the calculation is off:
This one is super easy and intuitive. Thank you so much.
You are welcome.
@pkalisz The New Hotness (Custom Matrix Hierarchy) - Microsoft Power BI Community
Wow, that's a great and fast response, thank you!
Can I do custom hierarchy dynamically, so it doesn't need a manual update?
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
94 | |
87 | |
32 | |
27 |