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 good day,
Can anyone help me on my calculated column on how to arrived on my desired outcome.
Current Table
Desired Outcome adding calculated column
Thank you
Solved! Go to Solution.
Hi,
Please try something like below (the picture and the attached pbix file).
desired outcome CC =
SUMX (
FILTER (
SUMMARIZECOLUMNS (
data[date],
data[location],
data[trade],
data[week_no],
data[count]
),
data[date] = EARLIER ( data[date] )
&& data[location] = EARLIER ( data[location] )
),
data[count]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please try something like below (the picture and the attached pbix file).
desired outcome CC =
SUMX (
FILTER (
SUMMARIZECOLUMNS (
data[date],
data[location],
data[trade],
data[week_no],
data[count]
),
data[date] = EARLIER ( data[date] )
&& data[location] = EARLIER ( data[location] )
),
data[count]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 |
---|---|
112 | |
80 | |
71 | |
52 | |
50 |
User | Count |
---|---|
129 | |
123 | |
78 | |
64 | |
60 |