Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I've created a metric for the semantic stores. Unfortunately, it doesn't work with a date filter
Sample pbx: https://drive.google.com/open?id=1L2b9YIReTt27xSTmoBU8NCzDAO8QsGxO
My metric:
Revenue Bench Store =
VAR myStore = VALUES( Store_Benchmarking[StoreID_Bench] )
VAR Result = CALCULATE( [Revenue Measure] ; ALL(Sales) ; Sales[StoreID] IN myStore )
RETURN
Result
Solved! Go to Solution.
Hi @krzysztof ,
Try to modify your measure as below:
Revenue Bench Store =
VAR myStore = VALUES( Store_Benchmarking[StoreID_Bench] )
VAR Result = CALCULATE( [Revenue Measure] , ALL(Sales),FITER('Sales', Sales[StoreID] IN myStore ))
RETURN
Result
Hi @krzysztof ,
Try to modify your measure as below:
Revenue Bench Store =
VAR myStore = VALUES( Store_Benchmarking[StoreID_Bench] )
VAR Result = CALCULATE( [Revenue Measure] , ALL(Sales),FITER('Sales', Sales[StoreID] IN myStore ))
RETURN
Result
Hi @krzysztof
ALL( Sales ) is removing filters coming from date, you can use ALLEXCEPT( Sales, Date ) instead.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
80 | |
60 | |
59 | |
58 |
User | Count |
---|---|
157 | |
119 | |
104 | |
77 | |
69 |