2 Replies Latest reply on Aug 23, 2018 8:03 AM by Ankit Bansal

    MTD, Previous MTD comparison

    Raghav Mehta

      Hi

       

      I am very much new to Tableau and need help.

      I want to compare the Data from Current month till date to previous month till date for a calculated Field and show them in bar graph.

      Moreover the calculated field generated is made up by some calculations done through a parameter.

       

      When I am applying the logic for MTD and Previous MTD (Looked up on the community itself),  I am getting errors as I cannot use aggregated function inside IF statement

      and my calculated field is made up of logic -  count(XYZ) / count(ABC)

       

      Kindly help me out on this.

       

      TIA,

      Raghav