Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I am concerned performance-wise for the next change in a measure:
Change... From:
Revenue LYTD:= CALCULATE([Revenue YTD] , SAMEPERIODLASTYEAR('Date'[Date]) )
To:
Revenue LYTD:=
VAR VAR1 =
ADDCOLUMNS(VALUES(Revenue[Key_Customer]),
"Col",CALCULATE([Revenue YTD],SAMEPERIODLASTYEAR('Date'[Date]),REMOVEFILTERS(Revenue[Segment],Revenue[Segment Type])))
RETURN SUMX(VAR1, [Col])
I am testing with little data, and it works fine; but is there any performance-penalty for forcing filter removal with REMOVEFILTERS?
Hi @Anonymous
I don't have any idea about your data model and report, but I think the below measure value would be the same. Would you please test this
Revenue LYTD :=
VAR VAR1 =
SUMMARIZE (
Revenue,
Revenue[Key_Customer],
"Col", CALCULATE ( [Revenue YTD], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
)
RETURN
SUMX ( VAR1, [Col] )
then you can measure the performance :
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |