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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.