Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
hiiii all ......im new to power bi . I am having data with error logs and site id .
i want a matrix that shows error count with differnt background color based on average error count.
I cant change the color based on average but the color changes with constant value.
iam sharing a sample data
siteid error
1 | a |
2 | ab |
3 | abc |
4 | a |
5 | ab |
1 | abc |
2 | a |
3 | abc |
4 | ab |
5 | a |
my measures are
i cant see a change in color ......but if give
if i give
need your please help..... want to change background color in value of error based on average error count
Solved! Go to Solution.
try to change your measure to
thanks bro ... it worked .Can u tell me what mistake i made
hi @Anonymous , You missed to add the ALL(). thats why you were not able to achieve the desired output.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
average is the average for all, so we add ALL() to ignore the filter contexts, row and column headers in your Matrix Visual.
when i use page filter siteid ....average count changes but the background color wont since we use All function......i want to color for the page filter as well
Hi @Anonymous , I think below is the solution for you.
I tried it myself,
1. Count of error =COUNT('Table (3)'[error])
2. Avg error count = CALCULATE(DIVIDE([count of error],[siteidcount]),ALL('Table (3)'))
This is the additional thing i added in the avg error count.
3. Count of error divided by siteidcount =
6. below is the output i think you need.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
try to change your measure to
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |