The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have two tables including columns with data and project number among others. I need to create new column in one of the table as a result of comparison of dates in both tables. I am not able to do it. I tried couple of ways but it´s still complaining about relationships. When I created relationship between "ConvertedDate" and "Quotastion due Date" it create inactive relationship (I have already active relationship between project numbers). I tried to use USERELATIONSHIP in DAX, but still without success. Do you have any idea? I thought it´easy to do this, but I spent alredy way to much time on this...
Here my formula:
Solved! Go to Solution.
Hi @LukasLK
I'm not sure what exactly are expecting to get. However, please try
QuotationStatus =
IF (
CALCULATE (
MAX ( 'PRF Decision'[Quotation due date] ),
USERELATIONSHIP ( 'Table 1 (FEA History)'[ConvertedDate], 'PRF Decision'[Quotation due date] )
) > 'Table 1 (FEA History)'[ConvertedDate],
"In Quotation",
"After Quotation"
)
Hi @LukasLK
I'm not sure what exactly are expecting to get. However, please try
QuotationStatus =
IF (
CALCULATE (
MAX ( 'PRF Decision'[Quotation due date] ),
USERELATIONSHIP ( 'Table 1 (FEA History)'[ConvertedDate], 'PRF Decision'[Quotation due date] )
) > 'Table 1 (FEA History)'[ConvertedDate],
"In Quotation",
"After Quotation"
)
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |