The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, I have a problem obtaining the correct value: I need to obtain the sales sum from the SPR[NETTO] column for the assortment KOLORYZACJA from the table ASORT[poizion2] = "KOLORYZACJA". The sales sum should only include the first month in which the sales for this assortment reached a minimum of 450 for a specific customer[id]. Thank you for your help.
Solved! Go to Solution.
Hi,
If I understand the question correctly, you probably need a formula like this in DAX:
SalesSum :=
CALCULATE(
SUM(ASORT[SPR[NETTO]]),
ASORT[ASORT[poizion2]] = "KOLORYZACJA",
ASORT[Sales] >= 450,
FIRSTDATE(ASORT[Month])
)
Hi,
If I understand the question correctly, you probably need a formula like this in DAX:
SalesSum :=
CALCULATE(
SUM(ASORT[SPR[NETTO]]),
ASORT[ASORT[poizion2]] = "KOLORYZACJA",
ASORT[Sales] >= 450,
FIRSTDATE(ASORT[Month])
)
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 August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
21 | |
18 | |
17 | |
13 |
User | Count |
---|---|
41 | |
38 | |
24 | |
20 | |
20 |