Forum Discussion
Allexcept measure issue
Hi,
The goal is to conditionally format a measure (background color) depending on selected filters.
Constrains, all data dim and fact are in one table.
In order to get to my final measure i had to create some nesting first:
2. Vuln wo sev =
CALCULATE([Number of Vuln day],
That allowed me to create a Divide measure - crucial for result as each of severities should add up to 100% in column total.
With conditional formatting of % of Vuln
Now my problem starts when i try to filter report by department (also as a part of same table)
I seek for a measure that upon selection will calculate results to 100% for all severities, not only filtered part of data:
I can achieve this result by using Number of Vuln day measure and showing calculation by "Percent of column total", but then logic used to conditionally format fields won't apply.
Does anyone have an idea how to resolve this?
Lastly, measure for conditional formatting:
1 Reply
- lbendlin
Super User
and showing calculation by "Percent of column total", but then logic used to conditionally format fields won't applyCorrect. you will need to implement that logic inside your measure.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523