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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
afleiderman1
Helper I
Helper I

Can I do the following in power bi

I have two columns in a table in one is called

warehouse and one is called factory

 

For example factory is

Atlanta

Nashville

Birmingham 

 

Warehouse

Juno

Los Angeles

New York

 

They are two seperate column.

 

My question is can I create a parameter that lets me choose which column I want to display 

in my matrix row.

For example if I want only matrix I can pick parameter Matrix

and I get

 

Atlanta

Nashville

Birmingham 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello,

Yes you can add them both as field parameter and put the value in the matrix and you can change between them using a slicer.

 

First you go to the modeling tab then new parameter then  pick fields

Idrissshatila_0-1672861277868.png

after that add the factory field and the warehouse field and click create

Idrissshatila_1-1672861329256.png

You'll now have a slicer and a table with this new parameter that has the field, so drag this field to a matrix and use the slicer to switch with the field you want

Idrissshatila_2-1672861427675.pngIdrissshatila_3-1672861458674.pngIdrissshatila_4-1672861466749.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos👍

 

Follow me on Linkedin

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello,

Yes you can add them both as field parameter and put the value in the matrix and you can change between them using a slicer.

 

First you go to the modeling tab then new parameter then  pick fields

Idrissshatila_0-1672861277868.png

after that add the factory field and the warehouse field and click create

Idrissshatila_1-1672861329256.png

You'll now have a slicer and a table with this new parameter that has the field, so drag this field to a matrix and use the slicer to switch with the field you want

Idrissshatila_2-1672861427675.pngIdrissshatila_3-1672861458674.pngIdrissshatila_4-1672861466749.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos👍

 

Follow me on Linkedin

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.