Forum Discussion

Periksson's avatar
Periksson
Frequent Visitor
7 years ago
Solved

Dynamic TOPN problem default value

Ok, so I'm struggling for a few days already to dynamically select top N of my Goods table. The problem is not for selecting top N, but the default value when none is selected. I want it to give me t...
  • Anonymous's avatar
    Anonymous
    7 years ago
    Selected N = SELECTEDVALUE('TopNGoods'[Select N]; COUNTROWS(ALL(Goods)))

    But I think you should just create measure(s) with some SWITCH logic.

     

    Best

    Darek