Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to remove summarize function for measures in Table visualization?

Hi, I have a Table visualization in my PowerBI but I can't seem to NOT summarize one of the fields which is a measure, is there any way to go about it?   Hope to have some help here!   Than...
  • Mohammad_Refaei's avatar
    Mohammad_Refaei
    5 years ago

    It is not recommended to use bi-directional many-to-many relationships in your model. We will use it but will mark it as inactive. (uncheck Make this relathioship active)

    Create the calculated column as follows:

    LineTotal USD =
    [LineTotal]
        * CALCULATE (
            TOPN ( 1, VALUES ( viewBBeImInvoice_GLReport[ExchangeRate] ) ),
            USERELATIONSHIP ( 
    			viewBBeImInvoice_GLReport[InvoiceGuid], 
    			viewBBeImInvoicePosition_GLReport[InvoiceGuid] 
    		)
        )

     

    assuming that exchange rate is repeated for the same invoice.