cancel
Showing results for 
Search instead for 
Did you mean: 
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
Super User
Super User

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
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!