March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I am trying to create a calculated column between 3 different tables. All 3 tables are connected on a filed called 'ITEMID' field.
Does someone know how to write it correctly please?
IF 'Staging'[CODE]='ITEM_DIVERT'[CODE] AND 'Staging'[CODE]='KILLS_DISPOSITION'[CODE] THEN 'Match between 3 tables'
IF 'Staging'[CODE]='ITEM_DIVERT'[CODE] AND 'Staging'[CODE] != 'KILLS_DISPOSITION'[CODE] THEN 'Match between Staging & Item_Divert'
IF 'Staging'[CODE]!='ITEM_DIVERT'[CODE] AND 'Staging'[CODE] = 'KILLS_DISPOSITION'[CODE] THEN 'Match between Staging & Divert_Code'
IF 'Staging'[CODE]!='ITEM_DIVERT'[CODE] AND 'Staging'[CODE] != 'KILLS_DISPOSITION'[CODE] THEN 'No match'
END AS 'Comparison'
@DIFF1 , You have bring other column this table using one of the 4 ways. You can bring them in var of the column
refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
The syntax of if in power bi Dax id
If(<Condition>, <Then>, <else>)
You can use switch
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
Thank you.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
21 | |
16 | |
14 |