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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.