Forum Discussion
How to Create Aggregated table from fact table
- 5 years ago
Anonymous , a new table in DAX like
summarize(Table, Table[company], Table[LOB] , Table[Lcurr] , "Deduction",calculate(sum(Table[Deduction]), Table[Type] = "YU")
, "value",calculate(sum(Table[value]), Table[Type] = "YU")
, "Gcurr", calculate(max(Table[Gcurr]), not(isblank(Table[Gcurr] )))
"Deduction1" ,calculate(sum(Table[Deduction]), isblank(Table[Type] ))
, "value1",calculate(sum(Table[value]), isblank(Table[Type] )))
Anonymous , a new table in DAX like
summarize(Table, Table[company], Table[LOB] , Table[Lcurr] , "Deduction",calculate(sum(Table[Deduction]), Table[Type] = "YU")
, "value",calculate(sum(Table[value]), Table[Type] = "YU")
, "Gcurr", calculate(max(Table[Gcurr]), not(isblank(Table[Gcurr] )))
"Deduction1" ,calculate(sum(Table[Deduction]), isblank(Table[Type] ))
, "value1",calculate(sum(Table[value]), isblank(Table[Type] )))
Hi Amit,
Really appreciate your support on this. it's working for SGD.
but, my numbers not correct for EUR. in my earlier screen I entered the type in the wrong cell.