This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have extracts of a data set from Jan, Feb & March and I want to compare them to see increase/decrease across two months.
I have added them into one tab, and created an identifying column as to when they are from.
I dont know if this is the best practice, or if it should be kept on separate sheets?
Below is an extract of my collated data.
It shows that when it was extracted on 12th Jan that £75k had been secured for May 2020
Then as of 4th Feb, there had been £0 movement on this figure, yet as of March's extract, there had been £197k secured.
How can I compare the difference either positive or negative across differing months?
This data set has c. 30 column headers, so once I nail one comparison, I can then replicate it for the others
Thanks,
Chris
Solved! Go to Solution.
Hi @Anonymous ,
We can create a measure and use it in condition format to meet your requirement.
1. create a measure that calculate the difference of the [ABV] column in the same forecasted month.
Measure =
var LastExactDate =
CALCULATE(
Max('collated_Table'[Exacted_Date]),
FILTER(
ALLSELECTED('collated_Table'),
collated_Table[Exacted_Date]<MIN('collated_Table'[Exacted_Date])&&'collated_Table'[Forecasted_Month] in DISTINCT('collated_Table'[Forecasted_Month])
)
)
var LastABV =
CALCULATE(
SUM('collated_Table'[ABV]),
FILTER(
ALLSELECTED(collated_Table),
'collated_Table'[Exacted_Date]=LastExactDate&&'collated_Table'[Forecasted_Month] in DISTINCT('collated_Table'[Forecasted_Month])
)
)
return
SUM(collated_Table[ABV]) – LastABV
2. apply icon condition format with [ABV], and use measure in ‘Based on field’
3. Then we can get the result like this,
If it doesn't meet your requirement, Could you please show the exact expected result based on the Tables that you have shared?
Hi @Anonymous ,
We can create a measure and use it in condition format to meet your requirement.
1. create a measure that calculate the difference of the [ABV] column in the same forecasted month.
Measure =
var LastExactDate =
CALCULATE(
Max('collated_Table'[Exacted_Date]),
FILTER(
ALLSELECTED('collated_Table'),
collated_Table[Exacted_Date]<MIN('collated_Table'[Exacted_Date])&&'collated_Table'[Forecasted_Month] in DISTINCT('collated_Table'[Forecasted_Month])
)
)
var LastABV =
CALCULATE(
SUM('collated_Table'[ABV]),
FILTER(
ALLSELECTED(collated_Table),
'collated_Table'[Exacted_Date]=LastExactDate&&'collated_Table'[Forecasted_Month] in DISTINCT('collated_Table'[Forecasted_Month])
)
)
return
SUM(collated_Table[ABV]) – LastABV
2. apply icon condition format with [ABV], and use measure in ‘Based on field’
3. Then we can get the result like this,
If it doesn't meet your requirement, Could you please show the exact expected result based on the Tables that you have shared?
Hi @v-lid-msft
I dont know how I planned to show this information!
The solution you have provided, has provided me with a great method to show the difference.
Thanks for your help!
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |