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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors