Forum Discussion
Prabhu_MDU
Advocate I
7 years agoAlternate for my SQL query in DAX
,cte_Allocation as ( select distinct cr.RemittanceCode, sum(fa.AllocAmount_OC_A) as 'AllocationAmount_Orig', sum(fa.AllocAmount_FC_A) as 'AllocationAmount_Func' from cte_Remittance cr /* <= A ...
Prabhu_MDU
Advocate I
7 years agosorry, I could not share the pbix file, since it has very sensitive data..
parry2k
Super User
7 years agobasically you have to setupi relationship between cte and fact table in powerbi on common column and then everything should work.
I'm assuming cte to fact is one to many relationship.