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.
Hi all,
I was wanting to know if there's a way to do a calculation between 2 visuals like the ones below:
I want to be able to find the difference between the 2 months
IE: what is the difference between May 2024 & June 2024 Merchang Violation Number like with a formula in Excel.
Thanks for any help
Solved! Go to Solution.
Hi @Ike0911 ,
You should use measures to achieve this. Create a measure for each visual using SUM, AVERAGE, etc. Then create a third measuere which is measure1 - measure 2.
Here is more information:
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-measures
You can use the COUNT function inside of a measure to get the number of string values in a column:
https://learn.microsoft.com/en-us/dax/count-function-dax
Hi @Ike0911 ,
You should use measures to achieve this. Create a measure for each visual using SUM, AVERAGE, etc. Then create a third measuere which is measure1 - measure 2.
Here is more information:
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-measures
Hi DJ,
Unfortunately the information in those columns is in Text format & so I can't do a measure.
I just did a count of all items in the list to come up with the Number in each box (but the data itself is text format [ Company names/ url's...] )
Thanks for the information and assistance.
I will keep it for future reference 🙂
Regards,
Ike
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 |
---|---|
68 | |
64 | |
51 | |
39 | |
26 |
User | Count |
---|---|
84 | |
57 | |
45 | |
44 | |
36 |