简体   繁体   中英

Deactivating a filter applied to a card in POWER BI

Rank Turnover = 
RANKX(
    ALL(Regions[Region]),
    CALCULATE([Sales Total],KEEPFILTERS(Sales[Currency]="EUR"))
)

Hi everyone, got stuck with this one for the second day in a row. There are 3 tables in a dataset (Regions, Sales and Currency). Regions and Currency are filtering out the Dashboard when applied. My Intention is to have Total Sales in a Card for EUR only for a Chosen in a Region Filter Country. Everything works fine, but whenever I choose "LC" (Local Currency) in Currency Filter, the numbers Change - I Need to overcome that. Changing LC in that Filter should not affect Total Sales, they have to still be done in EUR.

Any help will be appreciated,

Thank you

Rank Sales EUR = 
RANKX(
ALL(Regions[Region]),
CALCULATETABLE(
    {[Sales Total]},
    TREATAS({"EUR"}, 'Dashboard Currency'[Currency]),FILTER(Dates, Dates[Year]=MAX([Year]))))

Here is the answer. Thank you all for support

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM