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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
kanderson521
Frequent Visitor

Trying to create this visualization - Matrix or R Script?

Hello,

I am looking for advice on the best path to create the visual in the image below. I have already toyed with pivoting & unpivoting columns and get close but not exactly to the specifics of the image below. Any ideas or suggestions are greatly appreciated.

 

Thanks in advance,

Kai

customvisual.JPG

4 REPLIES 4
Anonymous
Not applicable

I would imagine that a Matrix visual is going to be your best bet.  You'll be able to put columns of data into the "Rows" and "Columns" to take your unpivoted raw data and place it into that style of information display.

 

Matrix visual also has a function for conditional formatting to get your colouring.

Here's what my source data looks like -- where I'm struggling is how to pivot so that I am getting sums for all the categories instead of individually or just for one, seems like there should be a way to sum for all columns  then create a measure that shows the percentage of goal achieved, sort of like a KPI but in a table format. Capture.JPG

@kanderson521,

 

Based on your sample data, you need to unpivot your data and then add the column to Column in Matrix visual. Please refer to the link below to see the detail about Pivot and UnPivot in Power BI.
http://radacad.com/pivot-and-unpivot-with-power-bi

 

Regards,

Charlie Liao

Hello and thank you for that suggestion -- that is what I initally thought of trying and it gets me to the point where I can see the actuals, but I'm not able to see both goals and actuals? Of the 13 criteria (colums) 10 have goals that I need to aggregate a percentage of completion on. I tried the switch technique with the metrics table and it worked great but would not allow me to use conditional formatting on the measures Smiley Sad

http://angryanalyticsblog.azurewebsites.net/index.php/2017/07/13/performance-scorecards-and-heatmaps...

So I came back to pivoting/unpivoting... I'm not sure what I am missing here, any help you can provide is very much appreciated.

 

Kai

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.