Forum Discussion

Dora's avatar
Dora
Helper I
8 years ago

Creating a User Selection table

Hi,

I want to make a user selection table as follows:-

 

 

When I create this I only get one Column Selected table I need to Select multiple columns in single table,I done this using following

 

Measure Selection =
SWITCH(TRUE(),
VALUES('Column'[Column]) = "Total Sales", [Total Sales] ,
VALUES('Column'[Column]) = "Total Cost", [Total Cost],
VALUES('Column'[Column])= "Total Profit", [Total Profits],
BLANK())

 

How to make this from DAX,since switch can only choose one selection and tables get only one value per column.

 

Please Help !!!!

Thank You 

Best Regards,

Dora

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Dora,

     

    Can you please explain more about your requirement?

     

    AFAIK, one measure is impossible to return multiple values at same time.(switch function also not works for summary records)

     

    If you mean display dynamic multiple columns based on slicer and switch function, it is impossible to achieve.

     

    Regards,

    Xiaoxin Sheng