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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Help with data conversion

I have data that is structured like this in Power BI (obviously this is an excel screenshot)

SIF Expectation Compliance.jpg

 

I want to show a table summary of all the column headers as a % of x/(x+✔)

So for instance SL03 in the table above would be 43% i.e. 3/7

And display like this

SIF Expectation Compliance - Requirement.jpg

 

Thanks for any help

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Anonymous  Guess, you are looking for something like this....

 

Sample DataSample Data

 

Unpivot the columns in Power Query Editor and then your table looks like (You can see the actual tick mark symbols in Power BI, converted them using UNICODE function)

 

image.png

 

Create a summarized table as below using New Table option (Added few more fields for reference)

 

Test241Out = SUMMARIZECOLUMNS(
                Test241SpecialSymbols[Item],"Total",COUNTROWS(Test241SpecialSymbols),
               "Not NA",COUNTROWS(FILTER(Test241SpecialSymbols,Test241SpecialSymbols[Value]<>"N/A")),
               "Right",COUNTROWS(FILTER(Test241SpecialSymbols,UNICODE(Test241SpecialSymbols[Value])=0252)),
               "Wrong",COUNTROWS(FILTER(Test241SpecialSymbols,Test241SpecialSymbols[Value]="X"))
               )

Add a new column which is your expected output and change the format to Percentage

 

%Compliance = Test241Out[Right]/Test241Out[Not NA]

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

2 REPLIES 2
PattemManohar
Community Champion
Community Champion

@Anonymous  Guess, you are looking for something like this....

 

Sample DataSample Data

 

Unpivot the columns in Power Query Editor and then your table looks like (You can see the actual tick mark symbols in Power BI, converted them using UNICODE function)

 

image.png

 

Create a summarized table as below using New Table option (Added few more fields for reference)

 

Test241Out = SUMMARIZECOLUMNS(
                Test241SpecialSymbols[Item],"Total",COUNTROWS(Test241SpecialSymbols),
               "Not NA",COUNTROWS(FILTER(Test241SpecialSymbols,Test241SpecialSymbols[Value]<>"N/A")),
               "Right",COUNTROWS(FILTER(Test241SpecialSymbols,UNICODE(Test241SpecialSymbols[Value])=0252)),
               "Wrong",COUNTROWS(FILTER(Test241SpecialSymbols,Test241SpecialSymbols[Value]="X"))
               )

Add a new column which is your expected output and change the format to Percentage

 

%Compliance = Test241Out[Right]/Test241Out[Not NA]

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

Thankyou.

 

The unpivot was the key I was missing.

 

Really appreciate it.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.