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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
TinyElephant
Helper III
Helper III

Value Count after Unpivot Columns is not unique

I have some employee data in Excel table containing experience and software skills. I applied Unpivot Columns of both Experience and Software Skills separately and plotted them. The percentage/proportion is coming out correct but the count is exaggerated. Please suggest.

 

TinyElephant_1-1627908373209.png

 

Employee1-3 years4-8 years9+ yearsSoftware 1Software 2Software 3
John Y Y Y
Derek Y YY 
MichaelY     
William  YYYY

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @TinyElephant ,

 

Step1: unpivot the year columns.

Step2: filter experience column which value is blank.

Step3: unpivot the software columns.

1.PNG

3.PNG

2.PNG

Pbix as attached.

 

Best regards,

Jay

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @TinyElephant ,

 

Step1: unpivot the year columns.

Step2: filter experience column which value is blank.

Step3: unpivot the software columns.

1.PNG

3.PNG

2.PNG

Pbix as attached.

 

Best regards,

Jay

Thanks. Any suggestions for the case when I have multiple such unpivoted headers and their values?

TinyElephant
Helper III
Helper III

Any other way to represent the excel data would also be fine. 

Greg_Deckler
Community Champion
Community Champion

@TinyElephant You can use:

Count Measure = COUNTROWS(DISTINCT('Table'[Employee]))


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@GregNow the percentage is incorrect. I'll figure out a way to attach .pbix file

TinyElephant_0-1627909358833.png

TinyElephant_0-1627963964200.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors