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
bw70316
Helper V
Helper V

Filter by Male/Female when just given Numbers

I have a list of months for the last FY which includes totals for Men/Women for each month. When I try to filter by just one or the other, I see no changes in my data because the totals are related to the month in question. For example, when I do a list and click on that number, it highlights the coorresponding month for that number. Is it possible, with just numbers, to filter by gender?

1 ACCEPTED SOLUTION
DaFloDo
Resolver I
Resolver I

hi @bw70316,

 

you could try the "UNPIVOT" function in power query when the data is loaded

 

 

2018-09-21 18_36_59-.png2018-09-21 18_38_06-Unbenannt - Power Query-Editor.png

 

 

another way would be using DAX to try like here

https://stackoverflow.com/questions/50213905/is-it-possible-to-unpivot-in-power-bi-using-dax

 

 

 

best regards 

 

florian

 

View solution in original post

4 REPLIES 4
bw70316
Helper V
Helper V

Query.png

 

 

So I am trying to take this data and filter it my Male and Female. These are totals. I am assuming this can be done in some way, or would I need the original data to illustrate male/female. Sorry for the poor post above, I was in hurry for a meeting

So, you would want to unpivot those columns as suggested by @DaFloDo



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
DaFloDo
Resolver I
Resolver I

hi @bw70316,

 

you could try the "UNPIVOT" function in power query when the data is loaded

 

 

2018-09-21 18_36_59-.png2018-09-21 18_38_06-Unbenannt - Power Query-Editor.png

 

 

another way would be using DAX to try like here

https://stackoverflow.com/questions/50213905/is-it-possible-to-unpivot-in-power-bi-using-dax

 

 

 

best regards 

 

florian

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.