Forum Discussion
Filtering visually but not data
- 1 year ago
Create a separate dimension table for your index column or whatever the column name of those numbers are.
Relate that to your fact table with a one-to-many relationship.
Create this measure:
Percent to All Index = DIVIDE ( SUM ( Data[Value] ), -- Numerator: Calculates the total of the [Value] column in the current filter context. CALCULATE ( SUM ( Data[Value] ), -- Denominator: Calculates the total of the [Value] column, -- but overrides the current filter context as defined below. REMOVEFILTERS ( 'Index' ) -- Removes any filters applied to the 'Index' table or column(s). -- This ensures that the denominator represents the grand total of [Value] across all 'Index' groups. ) )Use that measure and the Index column from the dimension table in your visual
Please see the attached sample pbix
Your solution is so great danextian , SamWiseOwl and rohit1991
Hi, charlotte_emily
I wish you all the best. Previously Super user and community users have provided a solution to help you solve the problem. Since we haven't heard back from you yet, I'd like to confirm if you've successfully resolved this issue or if you need further help?
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards
Jianpeng Li