Forum Discussion
SelectedValue from a SPECIFIC PAGE
- 4 years ago
Red217 You are on a good track, having visual level filters can be confusing, so better to create measures that are pre-filtering your data:
for example, the sum of sales of active products
Active Product Sales = CALCULATE( SUM ( Table[Sales] ), Product[Status] = "Active" )Measure like above, you are filtering on active products rather than having a visual level filter where status = active. Use a similar approach, create your measures based on your business logic, and use in the visuals.
✨ Follow us on LinkedIn
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Red217 You are on a good track, having visual level filters can be confusing, so better to create measures that are pre-filtering your data:
for example, the sum of sales of active products
Active Product Sales = CALCULATE( SUM ( Table[Sales] ), Product[Status] = "Active" )
Measure like above, you are filtering on active products rather than having a visual level filter where status = active. Use a similar approach, create your measures based on your business logic, and use in the visuals.
✨ Follow us on LinkedIn
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Hi,
i managed to get the syntax right and it works like charm !!! 😉 , thanks for giving me the direction.
this is my syntax:
calculate(
SUMX(
SUMMARIZE(
'Table','table'[date],
"xxx", [measure]
),
[xxx]
),
'table'[Column] = "value")