Forum Discussion
table with dynamic values (columns)
- Anonymous9 years ago
Hi giorgiokatr,
Sorry, It seems like I have forgot to paste the measures.
field1 =SWITCH([Selected],"Sales",Max(Table[Col1]),"Other",Max(Table[Col3])) field2 =SWITCH([Selected],"Sales",Max(Table[Col2]),"Other",Max(Table[Col4]))
Regards,
Xiaoxin Sheng
Hi giorgiokatr
look at my previous answer at https://community.powerbi.com/t5/Desktop/Changing-column-graph-displayed-value/m-p/108427/highlight/true#M45588 - this is a good pattern to make it work like you want :)
HTH,
Frank
thanks BetterCallFrank!
switch i a good solution but i would like to have 5 values for example not only one depending on slicer selection.
example when i select sales from slicer to have in a table my 5 sales columns (phone sales, laptop sales eg)
when i select profit to have my other 5 profit columns...
- Anonymous9 years agoNot applicable
Hi giorgiokatr
Can you share some data and the visual you expect to understand the problem better. You can do this on onedrive and post the link
Cheers
CheenuSing