Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have this pbix : https://drive.google.com/file/d/1tpGKvL_ST1L7YgDkDFqqLqfKb0FEjfcL/view?usp=sharing
I have a single selection filter on Year, and when I select 2021:
My goal is to never split a given Customer on Type, so, when I show the totals, I want to see: Net Revenue LYTD as 54 but in Locale, not in Inter:
I cannot harcode it... Many clients can belong to the same type.
Also a client changing 'type' can happen with more than one client in the future (or different type names). The only good thing is: if they switch, they do it on 01-Jan.
@Anonymous If you want to see all the totals only on the "Local" type, why do you put the other types in key?
The purpose of your request is not clear to me.
Could you show the expected result and what you fail to do?
B.
Thanks for your answer @BeaBF ,
My expected output is:
(when 2021 is selected):
When 2020 is selected... it should work as it is already working:
This measure gets your example result.
It first builds a table of Revenue LYTD for each inscope customer ignoring Type, then aggregates for the final result.
Net Revenue LYTD =
VAR _CustomerLYTD =
ADDCOLUMNS(
VALUES(Revenue[Customer]),
"@LYTD", CALCULATE([Net Revenue YTD], SAMEPERIODLASTYEAR('Date'[Date]), REMOVEFILTERS('Type') )
)
VAR _Result = SUMX(_CustomerLYTD, [@LYTD])
RETURN
_Result
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |