March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I am wondering if there is any way to condition format one measure based on another.
Attaching pbix file for reference: https://drive.google.com/file/d/1uPF5RgDhz9V9UTsmBI86pKyDcVuoONka/view?usp=sharing
I need to create one measure which displays the total sales and average sales with the enclosed text(The highlighted area contains two seperate measure). Also need to condition format total sales measure based on average sales.
for eg: if total sales is greater than average sales, then font color of total sales should be green color else red color, the font color of average will remain in grey color always (This need not to be changed based on condition).
Any help will be appreciated.
Thanks You.
Solved! Go to Solution.
I have found the solution using text box. I used two measure with switch statement to generate the value based on condition and formated the font color accordinly.
Note: the hidden icon will dissapear once published online
Reference: QT#75 - Add Conditional Formatting to Values INSIDE a Power BI TEXT BOX - YouTube
I have found the solution using text box. I used two measure with switch statement to generate the value based on condition and formated the font color accordinly.
Note: the hidden icon will dissapear once published online
Reference: QT#75 - Add Conditional Formatting to Values INSIDE a Power BI TEXT BOX - YouTube
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |