Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I 've imported 2 different table, 1 its called project one invoice,
on the invoice table, there is a column called project Id where there is the id of the project, powerbi have created a correlation automatically between project id in invoice table and Id in Project table.
until here all it is good 🙂
now I need to create a new column in the invoice table that checks if the column of the month in project table is the same of the column months in invoice table based on correlation of the project id
the values in both months column are from 1 to 12
anybody can help me? please
Solved! Go to Solution.
Hi @Anonymous,
Since there existing a relationship between project table and invoice table, to check if the column of the month in project table is the same of the column months in invoice table based on correlation of the project id, you can add a calculated column in invoice table like below:
Check1 = IF(RELATED(project[Month])=invoice[Month],"Is Same","Not Same")
I need to combine 2 column invoice date and a column project date in the same table format dd/mm/yyyy
I need an operation that says me "yes" when the date of the invoice date column is on the month next compared to the related project date column
Add calculated columns in invoice table:
date in project = RELATED(project[project date]) check2 = IF(DATEDIFF(invoice[date in project],invoice[invoice date],MONTH)=1,"Yes","No")
Best regards,
Yuliana Gu
Hi @Anonymous,
Since there existing a relationship between project table and invoice table, to check if the column of the month in project table is the same of the column months in invoice table based on correlation of the project id, you can add a calculated column in invoice table like below:
Check1 = IF(RELATED(project[Month])=invoice[Month],"Is Same","Not Same")
I need to combine 2 column invoice date and a column project date in the same table format dd/mm/yyyy
I need an operation that says me "yes" when the date of the invoice date column is on the month next compared to the related project date column
Add calculated columns in invoice table:
date in project = RELATED(project[project date]) check2 = IF(DATEDIFF(invoice[date in project],invoice[invoice date],MONTH)=1,"Yes","No")
Best regards,
Yuliana Gu
update I made a merge query and it seems work
now I'm stuck in another way
I need to combine 2 column invoice date and a column project date in the same table format dd/mm/yyyy
I need an operation that says me "yes" when the date of the invoice date column is on the month next compared to the related project date column
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 28 | |
| 28 | |
| 19 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 18 | |
| 17 | |
| 15 |