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,
thank you for the quick reply.
the measure that i trying to filter is the following:
measure = SUMX(
SUMMARIZE('table','table'[expression],
"XXX", [another measure] ),
[XXX] )
what is the syntax / way to add a filter to this measure by slicer ?