Forum Discussion
Adding the Quartile summary
Hi Anonymous , Please find the same file below. while I am unable to provide all the columns that can replicate exact columns as per the image. This data set is mostly a replica of the one I am working on.
Hi Sri_phani ,
I create a table as you mentioned.
Then I create a measure and here is the DAX code.
Measure =
VAR _Resolve =
MAX ( 'Table'[Resolve] )
RETURN
IF (
NOT ISBLANK ( _Resolve ),
SWITCH (
TRUE (),
_Resolve >= 0.75, "Q1",
_Resolve < 0.75
&& _Resolve >= 0.5, "Q2",
_Resolve < 0.5
&& _Resolve >= 0.25, "Q3",
_Resolve < 0.25
&& _Resolve >= 0, "Q4",
BLANK ()
)
)
I create a color DAX code and put it into the Measure column.
Color =
SWITCH(
TRUE(),
'Table'[Measure] = "Q1", "Green",
'Table'[Measure] = "Q2", "Blue",
'Table'[Measure] = "Q3", "Orange",
"Red"
)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Sri_phani2 years ago
Helper III
Hi Anonymous,
The question is about summarizing the Quartile as a table, like this. Not about the conditional formatting. Can you please help with this.
- Sri_phani2 years ago
Helper III
Hi Anonymous,
The question is about summarizing the Quartile as a table, like this. Not about the conditional formatting. Can you please help with this.