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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
derekli1700
Helper III
Helper III

How to make a Column based Filter/Pie Chart

StorePeriodVol (L)PRODUCT 1PRODUCT 2PRODUCT 3PRODUCT 4
Store AJan-24211211.00   
Store AFeb-24250250.00   
Store AMar-24315295.00 20.00 
Store AApr-24354354.00   
Store AJun-24679679.00   
Store AJul-24927884.00 43.00 
Store AAug-24645539.00 106.00 
Store ASep-24392392.00   
Store AOct-24677560.00 117.00 
Store ANov-24403369.00 33.00 
Store ADec-247878.00   
Store AJan-25101101.00   
Store AFeb-25249249.00   
Store BSep-24441441.00   
Store BAug-24496459.00  37
Store BNov-24568559  9
Store BApr-24726697  29
Store BJan-25738713  25
Store BJul-24919874  44
Store BDec-24980980   
Store BMay-241,053967  87
Store BFeb-251,2181161  58
Store BOct-241,2981298   
Store BJan-241,3751177 89110
Store BMar-241,5821301  281
Store BFeb-241,7851678  107
Store BJun-242,3652365   

Based off this data - how would i make a dropdown filter/Pie chart for Product 1,2,3,4 and have that affect the matrix table of data to see what store has had product x occur?

 

I'm assuming a measure or a unique product list is needed.

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@derekli1700 

maybe you can try select the first three columns in pq and unpivot other columns

11.png12.png

 

then you can just filter attribute column to select different product. 

 

if this does not work, pls proivde the expected output.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

8 REPLIES 8
v-priyankata
Community Support
Community Support

Hi @derekli1700 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

v-priyankata
Community Support
Community Support

Hi @derekli1700 
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

v-priyankata
Community Support
Community Support

Hi @derekli1700 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

ryan_mayu
Super User
Super User

@derekli1700 

maybe you can try select the first three columns in pq and unpivot other columns

11.png12.png

 

then you can just filter attribute column to select different product. 

 

if this does not work, pls proivde the expected output.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi - i seem to have replicated it but the addition of the values seem to have shifted:
New:

derekli1700_0-1742954422816.png

 

Old:

derekli1700_1-1742954491281.png

 

pls provide the expected output based on the sample data you provided 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi,

 

Apologies - i just applied it to my larger test dataset test3.xlsx

and noticed duplicate rows which may skew the volume column. Do you have a recommendation on how to remove them? Thanks!. Simply right clicking "remove duplicates" would remove some product rows so im assuming a custom column formula might be needed?

derekli1700_0-1742961990340.png

 

@derekli1700 

vol column is the summary of the 4 products. I think we don't need that column , you can remove it and select the first 2 columns and unpivot other columns

 

11.png12.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.