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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to filter using columns and measures all in one slicer !

Hi team.

 

I have a table which has my COST and UNITS columns.

 

How can I select for a single Matrix from a filter which has options COST, UNITS and COST/UNIT (cost per unit or CPU).

 

If I unpivot the cost and units column then I get these 2 variables in Attributes and hence when I create a slicer with Attributes, I will get only 2 option to select from the slicer. They are Cost and Units.

 

Now how can I include Cost per unit as part of the options?

 

Thanks a lot.

1 REPLY 1
lbendlin
Super User
Super User

Are you trying to use Field parameters?  Worst case you can create explicit measures from your COST and UNITS columns.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.