Forum Discussion
Conditioning Formatting Acting Wierd?
I was able to successsfully place a conditional formatting for a runtime expressed in decimal (for instance, 1:30:00 is 1.5) on a table column (data source: share point files)
However, when I tried to do the exact conditional formatting for another table column (data source: Oracle database), the Summarization field shows up and it is manditory that you have to use some types of aggregation. However, I just want to use the field value as I did in the the first screen shot. You can notice that the Summariation field didn't show up in the first screen shot.
I don't think the data source matter as they have been both uploaded into PowerBI as tables in the same file.
How to get rid of the Summmrization field in the 2nd sceen shot? Anyone can give me a hand?
Thanks!
Helena
Hi HelenaX ,
Yes, your understanding is correct. The created measure is based on a certain calculation logic. Its aggregation operation is included in the created formula and is also related to its filtering context. Its data category cannot be changed. On the contrary, column is effective.
Hope to help you.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
6 Replies
- lbendlinSuper User
What visuals are you applying the conditional formatting to? What are the exact field types?
- HelenaXHelper I
The data type of the "Runtime in Decimal" column is "Decimal number".
"Runtime in Decimal" is an added column while "WF Finish Time in Decimal" (this is what I used for comparison which can be sorted by field value in Conditional Formatting) is a measure.
I noticed that there is no choice for data type for the measure:
Does that mean that only values in a measure can be sorted according to field value, and the values in an added column have to be sorted by aggregation?
- v-henryk-mstfCommunity Support
Hi HelenaX ,
According to the information you provide, the condition of "based on field" in Conditioning Formatting depends on the type of field.
You can refer to related documents to modify the fields in the data model that apply conditional formatting.
Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs
Tips and tricks for formatting in reports - Power BI | Microsoft Docs
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- HelenaXHelper I
Thanks! I read through the documents. I still have a question. See my post above.
- v-henryk-mstfCommunity Support
Hi HelenaX ,
Yes, your understanding is correct. The created measure is based on a certain calculation logic. Its aggregation operation is included in the created formula and is also related to its filtering context. Its data category cannot be changed. On the contrary, column is effective.
Hope to help you.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.