Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello there Can you please tell me if I use TREATAS correctly? From the tables in the picture, I would like to create a "Total Amount" column in table "TABLE_DIM_SLICER_DAO", with the total amount of each DAO, using TREATAS. But it's the total amount of the entire column that appears. I do not know why, despite all my checks. I use this simple DAX formula : TotalAmount = CALCULATE(SUM(FACT_PAR_DETAIL_REFDATE[LOAN_CNTRT_AMT]); TREATAS(VALUES(DIM_DAO[DAO_NAME]); Table_Dim_Slicer_DAO[DAO_NAME])) Your help will be extremely valuable. Thank you
Solved! Go to Solution.
Try with this one
TotalAmount =
CALCULATE (
SUM ( FACT_PAR_DETAIL_REFDATE[LOAN_CNTRT_AMT] ),
TREATAS ( { Table_Dim_Slicer_DAO[DAO_NAME] }, DIM_DAO[DAO_NAME] )
)
Try with this one
TotalAmount =
CALCULATE (
SUM ( FACT_PAR_DETAIL_REFDATE[LOAN_CNTRT_AMT] ),
TREATAS ( { Table_Dim_Slicer_DAO[DAO_NAME] }, DIM_DAO[DAO_NAME] )
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.