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
lcasey
Post Prodigy
Post Prodigy

Filter based on Slicer selection

Hello,

 

I am working on a financial report that must remove intercopmpany transactions. 

 

Intercomapny transactions are Identified as: Intercompany = IF('00-COA'[ACTNUMBR_5] = "9999" , "Yes","No")

 

Here is the logic:

 

1. IF there are no filters applied at all then remove all Intercompany transactions

2. IF "The Association" is selected in the ORG filter then show the transactions

 

I am strugling on how I can create a formula that filters out these transactiosn when nothing is selected and show these transactions when only the association is selected.

 

 

I have played with :  

Intercompany Filtered =
IF (
    HASONEVALUE ( '00-COASlicer'[Org2] ),
    VALUES ( '00-COASlicer'[Org2] ),
    "ALL"
)

 

 

Is there a way to select a slicer , then have the report automatically filter based on the selection?

I can Put a page level filter that would have a selection already made and as the slicer is used the page level filter should update.

 

 

 

01.jpg02.jpg

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @lcasey,

Slicer is used to filter responding rows. If you relate it to a report, the report will change according to the selected value in slicer. If there is no choice in slicer, it will display all values.

>>1. IF there are no filters applied at all then remove all Intercompany transactions

Intercompany transactions are stored in table as rows level? It it is, we are unable to remove all Intercompany transactions when there are no filters applied using sclicer.

2. IF "The Association" is selected in the ORG filter then show the transactions.

You can crate a slicer including all ORG values.

If this is not what you want, could you please share your .pbix file for further analysis?

Best Regards,
Angelia

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.