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

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors