The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi there, hope someone can help me with the visualization of my matrix.
I put my fields in like this:
Then, I get this result:
Does anyone know if I can have this result and how to do that?:
Thank you. Regards, Elmer
Hello! Yes, you can achieve something similar by utilizing field parameters. If you create a field parameter that has the measures you want to use in it, you can then add that and the dimension that you want to the columns well and add in any measure you want to the values well (literally, any measure you want can go in teh value well since teh field parameter is going to be what actually determines the measure that displays). The only difference between what you wanted and what you will get is that the measure name will appear on top of the dimension. Below is an example I did:
Here is what I have in the field wells `Name` (in the columns well) is the field parameter I built for my measures:
See, only order quantity is in the values well, but the visual shows the meaures for order qty, sales, and extended amount because of the field parameter. Field parameters is one of my favorite features (along with calculation groups).
Here is an article I wrote about field parameters. In the article I used dimensions, but you can build yours with measures, like I have in my screenshot above.
The Field Parameter Edition – Power BI with Me
Proud to be a Super User! | |
Hi @audreygerred , I haven't figured it out yet. Can you perhaps share your .pbix so I can see what I do wrong? Thanx, Elmer
Hi @audreygerred, I tried your solution. It didn't work out however. I got this:
This is normally so easy in excel....
Thanx for your refresh on parameters.
Kind regards, Elmer
Not easily.
Easiest thing would be two Matrix next to each other and hide the first column of the second Matrix.
The hard way would be creating a new column with the names of the two measures in it.
Then use this in your coulmns and drill down to m/v.
Create a measure for each seperate calculation.
Write a measure that tests the current column value and returns the corresponding measure.
It would be nast and hard to maintain.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.