Create X-Axis to Only Display Day over Several Months

Stephanie_Price
edited February 8 in Charting

I am wanting to recreate the X-Axis here only showing days - then show changes MoM using lines.

Ultimately, I want to create a filter that allows users to pick how many days they would like to go back and allow that to be compared.

Any suggestions?

Comments

  • I’d recommend using a variable to allow users to input the number of days and use that in a beast mode to filter the card

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • @GrantSmith Thank you - going to try this.

  • @GrantSmith Any idea what this beastmode would look like? Not sure how the date field can be translated into days on the X-axis through using this.

  • CASE WHEN DATEDIFF(CURDATE(), `Date Field`) <= `Days Variable` THEN 'Include' ELSE 'Exclude' END
    

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**