The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I've tried searching forums on this and found FILTER, CALCULATE, RELATED, combo of everything and nothing appears to be working for what I'm trying to accomplish.
Goal: Determine total rebate dollars based on a supplier and brand, but NOT based on a hard-coded supplier or brand, nor based on a slicer selection. Well, not exclusively at least.
See my screenshot of example data, along with the desired output(s).
Solved! Go to Solution.
Hi @kahnailee ,
Please create a measure using the following query:
Rebate Dollars = CALCULATE ( MIN ( Table1[ExtendedPOCost] ), FILTER ( ALL ( Table1 ), Table1[Date] = DATE ( 2019, 1, 1 ) && Table1[Supplier] = MIN ( Table2[Supplier] ) && Table1[Brand] = MIN ( Table2[Brand] ) ) ) * MIN ( Table2[Rebate] )
The result will like below:
Best Regards,
Teige
Hi @kahnailee ,
Please create a measure using the following query:
Rebate Dollars = CALCULATE ( MIN ( Table1[ExtendedPOCost] ), FILTER ( ALL ( Table1 ), Table1[Date] = DATE ( 2019, 1, 1 ) && Table1[Supplier] = MIN ( Table2[Supplier] ) && Table1[Brand] = MIN ( Table2[Brand] ) ) ) * MIN ( Table2[Rebate] )
The result will like below:
Best Regards,
Teige
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
102 | |
82 | |
62 | |
55 |
User | Count |
---|---|
253 | |
119 | |
115 | |
95 | |
70 |