Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have two table (alot more but ill use two).
In my ad details table 'addetails' I have a column called 'adqinstr' in there I have mulitple rows with either "Private", "Trade", or "Bus Acc".
In my customer table 'custAcc' I have created a cacluated column where i want to say if find "Buss Acc" then set it to "BA" else put "normal".
None of the DAX functions seem to be available (no list appears) and the useful columns only seem to show the columns for that table.
Thanks
Solved! Go to Solution.
@Anonymous
According to the table relationship shortcut you provided above, there is a One to Many relationship between table "custAcc" ant table "adDetails", and table "custAcc" is on the one side of the relationship. In this scenario, you should use RELATEDTABLE function to create the calculated column for table "custAcc".
The formula below is for your reference.
Column = IF ( CONTAINS ( RELATEDTABLE ( adDetails ), adDetails[adqinstr], "Bus Acc" ), "BA", "Normal" )
Regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |