The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now
Hi All,
I've two sets of data as shown in the attached screenshot. I need to compare the funnel data with budget data for each month and for each category like new opportunites created, closed own etc as shown in the image.
If the funnel data is greater than the buedget, the font should be in green color else in red color.
Kindly let me know what is the best to way to achive the same.
Regards,
Viresh
Solved! Go to Solution.
Hi @Anonymous ,
You can create a measure similar to the following:
measure = CALCULATE ( SUM ( 'funnel'[Value] ), FILTER ( 'funnel', 'funnel'[category] = MIN ( 'funnel'[category] ) && MONTH ( 'funnel'[Date] ) = MONTH ( MIN ( 'funnel'[Date] ) ) ) ) - CALCULATE ( SUM ( 'budget'[Value] ), FILTER ( 'budget', 'budget'[category] = MIN ( 'funnel'[category] ) && MONTH ( 'budget'[Date] ) = MONTH ( MIN ( 'funnel'[Date] ) ) ) )
Then apply the conditional formatting on the table you want to compare, as shown below:
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can create a measure similar to the following:
measure = CALCULATE ( SUM ( 'funnel'[Value] ), FILTER ( 'funnel', 'funnel'[category] = MIN ( 'funnel'[category] ) && MONTH ( 'funnel'[Date] ) = MONTH ( MIN ( 'funnel'[Date] ) ) ) ) - CALCULATE ( SUM ( 'budget'[Value] ), FILTER ( 'budget', 'budget'[category] = MIN ( 'funnel'[category] ) && MONTH ( 'budget'[Date] ) = MONTH ( MIN ( 'funnel'[Date] ) ) ) )
Then apply the conditional formatting on the table you want to compare, as shown below:
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, I will check and come back to you. Thanks
Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.
User | Count |
---|---|
158 | |
106 | |
96 | |
83 | |
75 |
User | Count |
---|---|
154 | |
137 | |
131 | |
81 | |
62 |