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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

display TEXT values instead of measure in pivot table

hello,,,

I have a data source like 

member_idQAnswer
11yes
12no
13yes
21yes
22yes

 

the Questions may increase with time to time... 

When I build a pivottable in power bi .. its something like

 

member_idanswer123
1yes1 1
2yes11 
1no 1 
2no   

 

what I want to display is something like

member_id123
1yesnoyes
2yesyes 

 

 

can you help with tips to do it... as I told before questions mey increase so I dont want to change them into columns in the data source however it will change the structure everytime a question added...I want something dynamic and its structure doesnt change with Question Increase

1 ACCEPTED SOLUTION

Hi,  @Anonymous 

I think the matrix visual  should be able to meet your needs.

 

12.png

Please let me know if I have misunderstood.

Best Regards,
Community Support Team _ Eason

View solution in original post

6 REPLIES 6
CNENFRNL
Community Champion
Community Champion

Screenshot 2021-09-05 234458.png

That's all. Way much easier beyond expectation.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Anonymous
Not applicable

wow... this is great .. but actually I cheated... Im using SSAS and its MAX() function only accept numric values

I cope with it this way just because I'm used to writing measure myself; in fact, it's not mandatory to use a measure here. Just drap column [Answer] into Values box and it works like my solution.

Screenshot 2021-09-08 113845.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Hi,  @Anonymous 

I think the matrix visual  should be able to meet your needs.

 

12.png

Please let me know if I have misunderstood.

Best Regards,
Community Support Team _ Eason

mussaenda
Super User
Super User

Hi @Anonymous ,

 

by Pivoting the column Q,

use Answer on Values Column

and click Advanced options

Choose Don't Aggregate.

 

It will achieve your desired output.

 

Hope this helps

 

Untitled.png

 

 

Anonymous
Not applicable

that is an option on power query if Im not mistaken...

which mean the table will contain new columns every time a Question added which mean a pivot table That I built miss those new questions until I click on them on the self service...

what I want is that my pivottable columns will updated aoutumaticly = (questions must stay on rows on the datasource without any change on source nither using query editor).. Im searching workaround using pivot table options... or costomized dax equation to display a text answer for question iinstead of normal aggregation

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors