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 have a matrix table with several columns. I need a measure that filters to only show the rows with a specific character, "x" in this case, in the values like this:
To this:
Take into account that I have 20 values for each Row, so I need a way to do this automatically in case I add another value.
Any help/tip is welcome. If you need more information/clarification tell me.
Thank you,
Ferk
Solved! Go to Solution.
hi @Anonymous
It requires a bit of Power Query as well.
Step1 : In power Query select Employee column and Unpivot other columns. Make sure you do not reference Training columns anywhere.
Step2 :
Create a measure and apply as a filter on Matrix.
hi @Anonymous
You can type in data manually, made up number(Remove any sensitive infromation). I Just need to understand what your source table looks like in order to answer your question.
Employee | Training 1 | Training 2 | Training 3 | Training 4 | Training 5 | Training 6 |
Employee 1 | X | ✓ | ✓ | ✓ | ||
Employee 2 | X | ✓ | ✓ | ✓ | ||
Employee 3 | ✓ | ✓ | ✓ | ✓ | ||
Employee 4 | ✓ | ✓ | ✓ | |||
Employee 5 | X | X | ✓ | ✓ |
Looks like this:
So after the filter in the matrix table I want to only be able to see the trainings not completed (X) from employees 1, 2 and 5. I hope this sample is enough for you to understand. Thank you, once again!
hi @Anonymous
It requires a bit of Power Query as well.
Step1 : In power Query select Employee column and Unpivot other columns. Make sure you do not reference Training columns anywhere.
Step2 :
Create a measure and apply as a filter on Matrix.
What a really good approach! But you know if it is also possible to have only the trainings that have "x", so in that case Training 5 and 6 would be deleted.
hi @Anonymous
Thats even simpler. you don't need any measure.
Step1 : In power Query select Employee column and Unpivot other columns. Make sure you do not reference Training columns anywhere.
Step2 Apply filter on value column for this visual.
@talespin Thank for your answer! I'm in a work environment, I can't use those websites to upload a file and share a link. But you have any ideia on how this can be solved?
hi @Anonymous
Please share sample data(Source data).
@talespin Thank for your answer! I'm in a work environment, I can't use those websites to upload a file and share a link. But you have any ideia on how my problem can be solved?
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 |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
41 | |
27 | |
23 | |
22 | |
22 |