Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Im currenctly trying to add a filter, so I can filter only the revenue of the top level of my Matrix.
Ive tried to create a dax like this
Total Revenue =
IF(ISINSCOPE(Customer[Name]) && ISFILTERED('analysis'[Posting_Date].[Date]),
VAR Total = CALCULATE(Sum((analysis[Revenue])))
RETURN
Total
)
So if I filter on this visual "Umsatz" > 30.000€ it should only display the first entry. But unfortunately it does not work.
Another example:
"Umsatz" < 400€ : It shows still the first entry because there is a entry in the next level which has a value of less 400€
Thanks in advance.
Solved! Go to Solution.
Hi @Macwin ,
Please try the following formula:
Measure = SUMX ( ALLSELECTED ( analysis[Sub_category] ), [Total Revenue] )
Then use the measure to filter visual, like this:
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Macwin ,
Please try the following formula:
Measure = SUMX ( ALLSELECTED ( analysis[Sub_category] ), [Total Revenue] )
Then use the measure to filter visual, like this:
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Macwin ,based on what I got
if this a parent because of order in rows Customer[Name] then is always is in scope
so also use not ISINSCOPE for next levels
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |