Forum Discussion

Wiene24's avatar
Wiene24
Icon for Helper II rankHelper II
7 years ago
Solved

Treemap with two filters

Hi, I have created a treemap wich shows the slowest paying company.  Here I have selecter the bottom 10 companies based on their average. But now I want to add that I only want to see it if th...
  • Wiene24's avatar
    Wiene24
    7 years ago

    I made a new colomn in the clients table where it shows me the total revenue for each client.

    This I can use in a slicer.

     

    Total revenue = CALCULATE(SUM(DEBFACTUUR[FACTBEDRAG]);FILTER(DEBFACTUUR;DEBFACTUUR[CDDEBITEUR] = REL_DEB[CDDEBITEUR]))
     
    Revenue 2019 = CALCULATE(SUM(DEBFACTUUR[FACTBEDRAG]);FILTER(DEBFACTUUR;DEBFACTUUR[CDDEBITEUR] = REL_DEB[CDDEBITEUR]);FILTER(DEBFACTUUR;DEBFACTUUR[BOEKJAAR] = 2019))