Forum Discussion
Please help me for creating DAX compare to a SQL
- Anonymous6 years ago
Hi,
I am taking aplology for that as because I have just discovered that my previous relation ship was not correct, in Many to Many relation ship there I just chnaged the filter condition to: Single TGT_MAT_75 Filters EDG_COUNT_STATUS and it just solved the problem using the below DAX:
Measure 3 = calculate(sum('EDG_COUNT_STATUS'[INVALID_RECORDS]),
'EDG_COUNT_STATUS'[PROFILE_ID] =75,
'TGT_MAT_75'[status]="Article Number has Invalid Length"
)But thanks to you for being with me.
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
These usually do not go very well when you just paste SQL and want the DAX equivalent. I suggest you post sample data, expected output and you explain in plain language what you are trying to do with your SQL.
DAX does have a NATURALINNERJOIN function.