Forum Discussion

wenners68's avatar
wenners68
Icon for Helper II rankHelper II
2 years ago
Solved

Static X-axis in stacked column chart

Hi, I have a measure that calculates the Top 5 countries for a selected year. It works fine if I use a table or matrix, but I want to use it in a column chart. Is there a way to be able dynamically ...
  • Ritaf1983's avatar
    Ritaf1983
    2 years ago

    Hi wenners68 

    It sounds like you are using a static top n functionality.
    Take a look at the linked tutorial about dynamic way :

    https://www.youtube.com/watch?v=vnqLb-IqLeQ

    it should help.

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

     
  • Ritaf1983's avatar
    Ritaf1983
    2 years ago

    if I understand you correctly and the graph is hierarchical, try to use the linked method :

    https://dataninjago.com/2017/12/11/dax-ranking-with-hierarchy-drill-down/

    or as I said in my first response: Please share some dummy pbix to work with

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.