Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Create Slicer by column names

I need some help with this scenario...

 

I have PowerBi report which its source is Direct Query to a SQL Database where sensors data are stored. The generated columns have the following names: INV1_X1, INV1_X2, INV1_X3, INV2_X1, INV2_X2, INV2_X3, INV3_X1, INV3_X2, INV3_X3. I want to have a slicer that is generated by the first four letters of the above columns so that the user can click the label "INV1" and see the data of INV1 device and so on.

 

Is it possible?

Thanks in advance

3 Replies