Forum Discussion

Krijgersss's avatar
Krijgersss
Icon for Helper II rankHelper II
1 year ago
Solved

Financial Reporting Matrix Profitbase NEED HELP

Hello i need some help with the visual "FInancial Rpeorting Matrix By Profit base" i want te make a tabel with 3 colums like the table below. i need some help with my total Colum and my % colum.  ...
  • rohit1991's avatar
    1 year ago

    Hi Krijgersss

     

    To achieve this, you need to use DAX measures that check whether the current row is a detail row or a total row, using the HASONEVALUE function. If it’s a detail row, the measure returns blank; if it’s a total row, the measure returns the sum or percentage. See below code references.

     

    Total = 
    IF(
        HASONEVALUE('Table'[Description]),
        BLANK(),
        SUM('Table'[value $])
    )
    

     

    Percent = 
    IF(
        HASONEVALUE('Table'[Description]),
        BLANK(),
        30  // Replace 30 with your own calculation if needed
    )