Forum Discussion
Conditional Formatting with Calculation Groups - Issues, please help me
- 3 years ago
I found the solution by myself. If somebody is interested, let me know, to post it.
Thanks anyway to all.
Marco
marcofalzone - Thanks for the quick response!
I have calculation group with two items Sales and Quantity.
I would like to apply background color only on Sales column and for the Category - Bikes
Sample File
Hello shinym201290 ,
thanks for the opportunity to help and give something back to this great community.
I downloaded your sample model and found that in this specific case you maybe don't need to involve calculation groups at all, for the category selection.
In the proposed solution attached you can find a smoother alternative that allow you to color one (or more) specific categories (like bikes) using a combination of one simple detached table and one selection measure. Plus, a simple and convenient conditional formatting measure.
Please, let me know if this solution fit your needs, and thanks again for enquiring me, I'm pleased to help.
In the attachment you can also find an "Information" tab with indications shown in this message.
Download link:
https://www.dropbox.com/scl/fi/72nlwuacmja7k8ohibli4/Calculation-groups-bg-formatting-V2.pbix?rlkey=pjc94hlfgfd9dnrwkwmtq5a7v&dl=0
PD: If you're still interested in conditional formatting with calculation groups, I can share the solution I currently use with tables visuals and matrix visuals in my models.
Marco Falzone - Monterrey, Mexico
- shinym2012902 years agoFrequent Visitor
marcofalzone - Thanks for the detailed explanation and solution.
It was my bad that I did not illustrate clearly why we wanted to go with calculation group for a basic use case.
Please find the sample report with the use case and why we decided to go with calculation groups.If you think its time consuming to go through the use case. It would be great if you can provide the solution for conditional formatting with calculation groups if you have one already!
Thank you for your time!