Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

Release filter by drill down level

Hello,

 

I'm trying to show accounting data to the user with PowerBI. The user needs to see trail from the account to the journal entry.

 

Level 1 is the Accounts and their sum.

 

Level 2 is the drill down to account, showing all entries to the account.

 

Level 3 is the drill down showing the all the rows of the journal entry.

 

Problem is that with drill down, each level adds to the filter and I would need to release the filter for the highest level when the user is at the lowest level(Level 3).

 

Level 1 Level 2 Level 3  
Overview Account 1030Journal Entry 1 
Account SumJournal EntrySumAccountJournal EntrySum
10304000120010301100
104095002300010301100
  380010401-100
    10401-100

 

Level 1 Filter

Account (all)

Journal entry(all)

 

Level 2 Filter

Account is 1030

Jornal entry(all)

 

Level 3 Filter

Account (all)

Journal entry(1)

  • You should write the meaure such as this.

     

    Measure1:=CALCULATE(SUM[AMOUNT]),ALL(Table[Accounts])

    Measure2:=CALCULATE(SUM[AMOUNT]), Table[Accounts]="1030")

    Measure3:=CALCULATE(SUM[AMOUNT]),ALL(Table[Journals]

     

    And Drag and drop them around and it would solve your problem.

1 Reply

  • You should write the meaure such as this.

     

    Measure1:=CALCULATE(SUM[AMOUNT]),ALL(Table[Accounts])

    Measure2:=CALCULATE(SUM[AMOUNT]), Table[Accounts]="1030")

    Measure3:=CALCULATE(SUM[AMOUNT]),ALL(Table[Journals]

     

    And Drag and drop them around and it would solve your problem.