The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to create a calculated formula In order to have it static and not be filtered by slicer.
I want to calculate "01. CAB" and not to change when I filter it with 'PL Transactions Brand_Marketing_V' [Brand]
Solved! Go to Solution.
You can try
BrandMarketing CAB =
CALCULATE (
SUM ( 'PL Transactions Brand_Marketing_V'[Amount] ),
REMOVEFILTERS ( 'PL Transactions Brand_Marketing_V'[Brand] ),
'PL Transactions Brand_Marketing_V'[Level 1] = "01. CAB"
)
Thank you! Didn't know about removefilters function.
You can try
BrandMarketing CAB =
CALCULATE (
SUM ( 'PL Transactions Brand_Marketing_V'[Amount] ),
REMOVEFILTERS ( 'PL Transactions Brand_Marketing_V'[Brand] ),
'PL Transactions Brand_Marketing_V'[Level 1] = "01. CAB"
)
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |