Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I have table with product,reason and values.
For each product i need to show top 5 values(measure named #m_cases). So i have written the formula for rank and added that in filter. The values are showing right but the total values are showing for only top 5 . I need to show top5 values for each product with right values and total should for all reasons.
I have added the below measure, it showing the right totals but values for each reason is showing same values!
ALLSELECTED = CALCULATE([#m_Cases],ALL('Cases'[Reason]))
Solved! Go to Solution.
Hi @Anonymous ,
I think I understood it now.
Your measure =
IF (
ISINSCOPE ( 'Cases'[Reason] ) = TRUE (),
[#m_Cases],
CALCULATE ( [#m_Cases], ALL ( 'Cases'[Reason] ) )
)
Please let me know the result.
Hi @Anonymous ,
I think I understood it now.
Your measure =
IF (
ISINSCOPE ( 'Cases'[Reason] ) = TRUE (),
[#m_Cases],
CALCULATE ( [#m_Cases], ALL ( 'Cases'[Reason] ) )
)
Please let me know the result.
Hi @Anonymous ,
Try substituting ALL by VALUES.
Not working!
Hi @Anonymous ,
Help me to understand your expected output. From your original screenshot, which values are correct and which are incorrect?
Here is the Matrix table where i removed the top 5 filter.
Here, For Avalara account i need the top 5 subcategory (filed name - Reason) by the value (#m_cases). I need to show the top 5 values but the total should exclude the top 5 and show for all reason. I.e 16384.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |