Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I have researched for an answer to this problem but yet to find the right answer.
I have a dataset with columns, ID, Date, Development Type, Delivery Term and would like to see what data has change from one week to the next (if Delivery Term has changed to be specific). All data is within a single table.
I need to be able to show (using conditional formatting, this part I am okay with) rows in a table that have been updated.
Sample Data (visually you can see PRJ003 has had Delivery Term changed, how is the comparison made?)
ID | Date | Development Type | Delivery Term |
PRJ001 | 3/03/2021 | New | Term 1 |
PRJ002 | 3/03/2021 | Improvement | Term 2 |
PRJ003 | 3/03/2021 | Improvement | Term 2 |
PRJ004 | 3/03/2021 | Improvement | Term 3 |
PRJ005 | 3/03/2021 | New | Term 4 |
PRJ006 | 3/03/2021 | New | Term 4 |
PRJ001 | 10/03/2021 | New | Term 1 |
PRJ002 | 10/03/2021 | Improvement | Term 2 |
PRJ003 | 10/03/2021 | Improvement | Term 3 |
PRJ004 | 10/03/2021 | Improvement | Term 3 |
PRJ005 | 10/03/2021 | New | Term 4 |
PRJ006 | 10/03/2021 | New | Term 4 |
Thanks and appreciate the assistance
Solved! Go to Solution.
This will give you a column of the previous value:
DiffFromPrvWeek = VAR _id = TablePrj[ID]
VAR _term = TablePrj[Delivery Term]
VAR _date = TablePrj[Date]
RETURN
CALCULATE(MIN(TablePrj[Delivery Term]), FILTER(ALL(TablePrj), TablePrj[ID] = _id && TablePrj[Date] = _date -7))
You can use it to create another column to signal a difference (from delivery term) or use an IF statement within the formula.
Hello how about I need to compare recipes from the same table, by different scepters, and material to see if they match by the amount loaded in the components:
and put in a column if it matches or not.
This will give you a column of the previous value:
DiffFromPrvWeek = VAR _id = TablePrj[ID]
VAR _term = TablePrj[Delivery Term]
VAR _date = TablePrj[Date]
RETURN
CALCULATE(MIN(TablePrj[Delivery Term]), FILTER(ALL(TablePrj), TablePrj[ID] = _id && TablePrj[Date] = _date -7))
You can use it to create another column to signal a difference (from delivery term) or use an IF statement within the formula.
User | Count |
---|---|
59 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
78 | |
62 | |
45 | |
40 | |
39 |