Forum Discussion

ChristianHE's avatar
ChristianHE
Frequent Visitor
5 years ago
Solved

Using Variables as filters

Hi community   I am having a little trouble understanding how to use variables, i have made the following formula:   Test =  Var Rep = VALUES(Kundetabel[Repræsentant]) Var Kunde = VALUES(Kunde...
  • amitchandak's avatar
    5 years ago

    ChristianHE , Try like

     

    Test = CALCULATE([Potientiale];TOPN(10,allselected(Kundetabel);[Potientiale],ASC),VALUES(Kundetabel[KUNDENRNAVN]))

  • amitchandak's avatar
    amitchandak
    5 years ago

    ChristianHE , better have to measure with filter sales >1, if it line level. If it after grouping then use values 

     

    sumx(Filter(values(Table[Col1]),[sales]>1),[Sales])