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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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