Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
We have two tables 1 from direct query and other from import mode, i have to compare the columns from direct query , import mode and return output as true if they match else false .
Posted date is from direct query and package_recieved date is from import.,
I need this logic in direct query table for each id it has to check IF (posted_date <= package_received_date ,"TRUE","FALSE")
Thanks in Advance
If your table have the relationship, you can consider to create a measure
e.g
Measure =
IF (
MAX ( Table1[posted_date] ) <= MAX ( Table2[package_received_date] ),
TRUE (),
FALSE ()
)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Are these tables connected to a common dimension table?
Yes , the relationship is many to 1 and 1 to many , common table has one and moreover it is like a bridge table.
Hopefully not.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |