Forum Discussion
Dynamically adding row & column values to the Matrix/pivot visual with slicers
Thanks Greg. I'm honored to have a Super User taking a look at this:)
So, yes, I thought the same thing regarding some sort of relationship. Consider my dataset has 2 types of data.
1.) Questions (q1, q2, q3, etc.)
2.) Demographics (Age, Education, Gender, etc.)
I tried creating 2 datasets (duplicates of each other) thinking I could do what you described. In the first dataset I unpivoted just the Questions giving me a unique attribute list of questions (q1, q2, q3). These would be my Row Values. For the 2nd dataset I did the same for just the Demographics. They would be the source of my Column values (Age, Education, Gender). I preserved the ID field in each table thinking I could then link them and magic would occur. Alas, by unpivoting the data, the ID's are no longer unique (i.e. there are now 20 ID's =1.) The result is a Many to Many query that doesnt work.
Unfortunately I'm not able to attach a file (?) here, but here is a dropbox link with the *.pbix file.
https://www.dropbox.com/s/3byd9eg4ylq5zbq/Dynamic%20Matrix.pbix?dl=0
Thanks!
Hi hawb,
I am afraid I could not figure out what you want, could you please post your desired result if possible?
Regards,
Daniel He
- hawb7 years agoHelper I
Hi Daniel. Does this illustration help? This functionality would allow me to dynamically explore matrix tables by being able to select different rows AND columns to use in the Matrix visualization. I can figure out how to dynamically populate one of the two, but not both.
Thanks!