Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi, I am having some issues with the matrix visual when I want text to roll up. Right now I have some data that looks like the below. It is simple with the main city, the store, how the store is performing, a comment on performance and a comment number. A comment number always coresponds to the same comment, it is a 1-1 relationship. In the case where the child is null, it means that the City only has one store.
Parent | Child | Rating | Comment | Comment Number | ||||
City A | Red | Warning: Low Confidence | 3 | |||||
City B | Store 1 | Red | Trend: Decreasing | 2 | ||||
City B | Store 2 | Green | Warning: Small Sample Size | 1 | ||||
City B | Store 3 | Amber | ||||||
City C | Red | Trend: Decreasing | 2 |
My issue is that in the matrix visual, it is not behaving like I want.
When everything is expanded, I can see the following. Where it is City B - Amber, I would like to see one of the comments there based on the comment number. So if I want to see max(comment number) then it will be 'Trend: Decreasing' and if it is min(comment number) then it will be 'Warning: Small Sample Size'.
Similarly, when it is rolled up, it looks like the following but I want to see one of my comments for Store B, based on the comment number just like above.
Is this possible?
Edit: I have tried splitting the Parent/Child/Rating/Comment Number colums into their own table and the Comment/Comment Number into its own table and creating a many to 1 relationship using the Comment Number columns, but this made less sense.
It was always like the below where it would only show one value for the Comment Number and Comment Text.
Solved! Go to Solution.
I have found a solution using the measure below:
It does not solve the first case though when you expand it, once expanded the top level is blank which is something I will live with.
I have found a solution using the measure below:
It does not solve the first case though when you expand it, once expanded the top level is blank which is something I will live with.
That's where ISINSCOPE would have come into play.
Read about ISINSCOPE and then decide how you want to handle each of the scenarios.
I have had a look at ISINSCOPE but i'm not sure if it is applicable to this scenario. It looks like it can filter data but not roll up data when using the matrix visual. Can you give me a bit more direction as to how to apply it?
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
88 | |
82 | |
64 | |
49 |
User | Count |
---|---|
125 | |
111 | |
88 | |
69 | |
66 |