Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
PSan1979
Helper II
Helper II

create matrix dashboard with single measure

Hi Experts,

 

i want to create a matrix dashboard as given below.i have created 

Custom Hierarchy = {("SCORE","ACT"),("SCORE","FST"),("SCORE","%AF"),("PROJ","ACT"),("PROJ","FST"),("PROJ","%AF"),("SCH","XXX"),("SCH","YXZ"," ")}
 
I am stuck here. I want to create a single measure and it should populate the data by matching up Value 1(score,proj,sch) Value2(act,fst.....).

 

creat pbi.JPG1b.JPG1a.JPG

 

 

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Don't @PSan1979,

You can use the SWITCH function to your measure. Please try something like:

Measure = SWITCH(True(),MAX('Table'[Value1]) = "SCORE"&&MAX('Table'[Value2]) = "ACT",....,MAX('Table'[Value1]) = "SCORE"&&MAX('Table'[Value2]) = "FST",.......)

If you need an accurate formula, show us sample data or onedrive pbix file for business if possible.

If this post helps, then consider Accept it as the solution to help other members find it faster.

Best regards

Dedmon Dai

amitchandak
Super User
Super User

@PSan1979 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Matrix should help: https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

 

For column header grouping
https://www.daxpatterns.com/dynamic-segmentation/
https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors