Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to filter data based on two columns

Hi,   I am new to power bi platform, can someone help me.   I want to filter my table/data in my visuals based two columns.  for example i have a table with columns as transaction, period,...
  • ryan_mayu's avatar
    5 years ago

    Anonymous 

    here is a workaround.

    Column = IF(CALCULATE(DISTINCTCOUNT('Table (2)'[NATURE]),ALLEXCEPT('Table (2)','Table (2)'[period]))=1,"no","Yes")

    then add a filter and select Yes