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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
TariqArnabi
Frequent Visitor

Converting 2 Calculated columns into a Slicer

I have a report that have 2 pages (Large Companies and Non Large Companies)

1 page has a calculated column that filters  "Large Companies"  --- 
Calculated column to pull up the "Large Companies" in Rows
     - If(ISBLANK(RELATED('Company Rollup'[Large Company Rollup])) || RELATED('Company Rollup'[Large Company Rollup])="","Other",RELATED('Company Rollup'[Large Company Rollup]))

the 2nd page has a calculated column that filters "Not-Large Companies"
Calculated column to pull up the "Non Large Companies" in Rows
          - if(ISBLANK(RELATED('Company Rollup'[Parent Market])) || RELATED('Company Rollup'[Parent Market])="",Company[Company],RELATED('Company Rollup'[Parent Market]))
Filter on the page that filters out Large Companies
         - Not Large = if(Company[Companu Rollup ]="Other",TRUE(),FALSE())

I'm attempting to place both of the calculated columns into a slice so I will only have 1 page, then utilize a slicer with a
1. Large Companie
2. Non Large Companies
3. All Companies


1 REPLY 1
SanketBhagwat
Solution Sage
Solution Sage

Hi @TariqArnabi .

You can use the concept of 'Dynamic Axis' to achieved the desired end result.
Refer the following links;
https://www.youtube.com/watch?v=8e8a3o1w51M
https://towardsdatascience.com/dynamic-axis-in-power-bi-daxis-72ecb22c119f


If this post helps, then mark it as 'Accept as Solution' and give it a thumbs up.

Thanks,
Sanket



Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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