Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I have the following columns
User | Critical Use 1 | Critical Use 2 | Critical USe 3 | Critical Use | Critical Use Calc | Creative 1 | Creative 2 | Creative_Calc | Creative |
ABC | 40 | 40 | 30 | 33.6 | Adopting | 40 | 60 | 50 | Adopting |
DEF | 40 | 60 | 40 | 46.67 | Exploring | 60 | 60 | 60 | Performing |
GHI | 40 | 20 | 20 | 26.67 | Exploring | 20 | 60 | 40 | Adopting |
The columns Critical Use 1, Critical Use 2, Critical USe 3, Critical Use Calc, Critical Use, Creative 1, Creative 2, Creative_Calc, Creative are all calculated columns.
How can I get a resultant tableto pivot the data above?
ABC | Critical Use 1 | 40 |
ABC | Critical Use 2 | 40 |
ABC | Critical USe 3 | 30 |
ABC | Critical Use | 33.6 |
ABC | Critical Use Calc | Adopting |
ABC | Creative 1 | 40 |
ABC | Creative 2 | 60 |
ABC | Creative_Calc | 50 |
ABC | Creative | Adopting |
The below is the original data:
User | Response 1 |
Response 2 | Response 3 | Response 4 | Response 5 |
ABC | Adopting | Performing | Adopting | Leading | Experienced |
DEF | Adopting | Leading | Performing | Adopting | Performing |
GHI | Performing | Experienced | Leading | Performing | Adopting |
I have added some calculated columns to the above table:
User | Response 1 | Response 2 | Response 3 | Response 4 | Response 5 | Critical Use 1 | Critical Use 2 | Critical USe 3 | Critical Use | Critical Use Calc | Creative 1 | Creative 2 | Creative_Calc | Creative |
ABC | Adopting | Performing | Adopting | Leading | Experienced | 40 | 30 | 40 | 36.67 | Adopting | 60 | 80 | 70 | Adopting |
DEF | Adopting | Leading | Performing | Adopting | Performing | 40 | 60 | 30 | 43.33 | Exploring | 40 | 30 | 35 | Performing |
GHI | Performing | Experienced | Leading | Performing | Adopting | 30 | 80 | 60 | 56.67 | Exploring | 30 | 80 | 55 | Adopting
|
These calculations are based on the below lookup tables:
Adopting | 40 |
Leading | 60 |
Performing | 30 |
Experienced | 80 |
Adopting | 36.67 |
Exploring | 43.37 |
Exploring | 56.67 |
Adopting | 55 |
Adopting | 70 |
Performing | 35 |
I now need to get the table to pivot the data as follows:
ABC | Critical Use 1 | 40 |
ABC | Critical Use 2 | 40 |
ABC | Critical USe 3 | 30 |
ABC | Critical Use | 33.6 |
ABC | Critical Use Calc | Adopting |
ABC | Creative 1 | 40 |
ABC | Creative 2 | 60 |
ABC | Creative_Calc | 50 |
ABC | Creative | Adopting |
I cannot use the transform function in Query editor because the calculated columns wouldnt appear there. What would be an alternative way to get this displayed?
@ryan_mayu Because these columns are calculated columns, they do not appear in Query editor
could you pls provide some sample data?
Proud to be a Super User!
Please see example below:
Response 1, 2, 3, 4 and 5 are original columns. The remaining columns are calculated columns. I would like to pivot the data using the calculated columns to obtaing the resultant table:
User | Response 1 | Response 2 | Response 3 | Response 4 | Response 5 | Critical Use 1 | Critical Use 2 | Critical USe 3 | Critical Use | Critical Use Calc | Creative 1 | Creative 2 | Creative_Calc | Creative |
ABC | Adopting | Performing | Adopting | Leading | Experienced | 40 | 40 | 30 | 33.6 | Adopting | 40 | 60 | 50 | Adopting |
DEF | Adopting | Leading | Performing | Adopting | Performing | 40 | 60 | 40 | 46.67 | Exploring | 60 | 60 | 60 | Performing |
GHI | Performing | Experienced | Leading | Performing | Adopting | 40 | 20 | 20 | 26.67 | Exploring | 20 | 60 | 40 | Adopting |
how you get the critial user 1 to the end? i think based on the first 5 columns, we can't get that output. I think we need to transpose and create measures instead of the calculated columns.
Proud to be a Super User!
you can select the first column and unpivot other columns in PQ
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |