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.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
102 | |
87 | |
35 | |
35 |
User | Count |
---|---|
152 | |
98 | |
81 | |
61 | |
55 |