Forum Discussion

newpbiuser01's avatar
newpbiuser01
Icon for Helper V rankHelper V
3 years ago
Solved

Zoom Slider with Date Hierarchy

Hello,   I have a stacked bar chart with the date field on the x axis and the payment amount on the y axis. Given the time period being shown on the chart, I need to do the following: 1. Add a zoo...
  • v-yueyunzh-msft's avatar
    3 years ago

    Hi , newpbiuser01 

    The Zoom Slicer visual requires a numeric field to work properly.

    For your need i  think we can create a calendar Date table as a dimension, and we can create a calculated column like this:

    Column 2 = EOMONTH([Date],-1)+1

    Then we put this column as the X-axis:

     

    Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

     

    Best Regards,

    Aniya Zhang

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