Forum Discussion

murillocosta's avatar
murillocosta
Helper I
3 years ago
Solved

HEADER AND DETAILS ROW DIFFERENT

Hi Would someone be able to help me with the below? I'm sending the file to be easier to understand   FILE I have to fact tables - Customer Debt - which is customer document transactions ...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi murillocosta ,

     

    According to your requirements description, one of the four measures you created "Total Credit Found" in your visual matrix is displayed correctly in some Customers, and some Customers are displayed incorrectly, according to my local testing and research here, it is indeed because of your measure "Total Credit Found" The Switch() function applied to causes problems caused by changes in the logic of the total operation in the current context, and based on my tests based on the .pbix file you provided, you can try to create a new measure like this:

    Total Credit Found2 = SUMX( VALUES('fCustomerDebt'[TRANSACTION_NUMBER]) , [Total Credit Found])

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.