Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is it possible to obtain two different colors, or at least change one of them in a concatenated text string?
For example: Days and %KM =
VAR vDIA = SELECTEDVALUE('Calendario'[Día])
VAR KM_RECORRIDO = DIVIDE([KM TOTAL], CALCULATE([KM TOTAL], ALL('KM_MARZO_2024')), 0)
VAR KM_RECORRIDO_PCT = FORMAT(KM_RECORRIDO, "Percent")
RETURN vDIA & UNICHAR(10) & KM_RECORRIDO_PCT
vDIA in one color KM_RECORRIDO_PCT in another color
Solved! Go to Solution.
Instead of showing the text you can show an SVG image. There you can play with colors.
Hi @lbendlin ,thanks for the quick reply.
Hi @Dandanpy ,
Regarding your question, after my attempts, Power BI is not able to fulfill your needs for the time being, because the formatting settings take effect for the whole measure.
Perhaps you can split your measure into two separate measure.
Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lbendlin ,thanks for the quick reply.
Hi @Dandanpy ,
Regarding your question, after my attempts, Power BI is not able to fulfill your needs for the time being, because the formatting settings take effect for the whole measure.
Perhaps you can split your measure into two separate measure.
Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Instead of showing the text you can show an SVG image. There you can play with colors.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |