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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
snandy2011
Helper IV
Helper IV

how to show list of names based on slicer selection By DAX

Hi All,

 

I have an question, is there any way to show list of name by DAX based on slicer.

For example,

I have a slicer with two value. (Customer and Poduct). The scenario is that, when i will click the customer on the slicer, it will show the all list of customer name, again when i will click the product on the slicer,then it will show all list of product name.

 

The reason behind that is i am going to analysis top customer and product.so, generally, i can create two visualization.One for top customer and other for top product.But, i want to create only one visualization for them.so for that, i have to  return list of all customer and product name dynamically from slicer selection.

 

Can i achieve above situation by writing DAX? 

 

Any suggesation is really appreciable.

 

Thanks,

snandy

 

1 ACCEPTED SOLUTION
BobBI
Resolver III
Resolver III

Hi,

 

I have achieve this by created a another table with unpivot values.

Main table :

ID | customer | product | Amount

 

Data set ( unpivot table)

Attribute | ID | value  ( see the screeshot to see values)

 

I use arttribute field in the slicer and Value filed in the table.

 

Hope this hellps.

 

Cheers

Bob

resultresultMain tableMain tablejoin tablejoin tableunpivot table ( amount removed)unpivot table ( amount removed)

 

View solution in original post

4 REPLIES 4
BobBI
Resolver III
Resolver III

Hi,

 

I have achieve this by created a another table with unpivot values.

Main table :

ID | customer | product | Amount

 

Data set ( unpivot table)

Attribute | ID | value  ( see the screeshot to see values)

 

I use arttribute field in the slicer and Value filed in the table.

 

Hope this hellps.

 

Cheers

Bob

resultresultMain tableMain tablejoin tablejoin tableunpivot table ( amount removed)unpivot table ( amount removed)

 

@BobBI,

 

Thank you very much.. i was looking for this solution.. thanks a lot..

 

snandy

Great , Have Fun with Power BI 🙂  thums up.

AkhilAshok
Solution Sage
Solution Sage

Have a look at this video. It should help:

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.