Forum Discussion

Saw_Dusted's avatar
Saw_Dusted
New Member
9 years ago

Compare previous month data to current month

I have a dashboard to display monthly install base totals (for equipment).  The data for the dash is comprised of a previous month dataset and current month dataset in the same sheet, identified by a number representing the month (2 - Feb, 3 Mar, etc)  What i was asked do was create a visualization to show if the current month total is above or below last month.  Each piece of equipment has a unique serial number, so that is what i am counting to get my totals.  

Is there a visualization that will allow me to use my previous month total as a goal and put the current month count against it?

 

I tried using the Gauge and KPI but was not successful.  i would like to let the system change the totals by adjusting filters if possible instead of going into the visualization to manipulate goal number (if possible).  I will likely have several of these visualizations displaying regional numbers, so making one change vs several is more efficient.

 

If this explination is not clear please let me know. Thanks

 

6 Replies

  • dedelman_clng's avatar
    dedelman_clng
    Icon for Community Champion rankCommunity Champion

    Can you share the measures you created that don't work in the gauge visualization?  You should be able to put slice-able measures in all 4 spots (min, max, target, value) on that visualization, so it may be a fault in your measures.

    • Saw_Dusted's avatar
      Saw_Dusted
      New Member

      I expect it is the way i am tring to use the visualization.  I do not have a slicer on this particular page, I am creating/presenting this particular data for a group that wants a "one page" view showing if we are up for the month or down.  I am able to get the gauge to show the current month data correctly, where i am hitting a wall is getting the target value to appear (last month total instrument count).  In the picture I have "month" in the target value spot, but that will not work as I have no way to filter that specific value to count "2" or the previous month.  

       

      • dedelman_clng's avatar
        dedelman_clng
        Icon for Community Champion rankCommunity Champion

        You will want to write a measure that gets the value you are showing (SERIAL NUMBER) but for the previous month.

         

        Something like this:

         

        PrevMonth = CALCULATE( COUNTA( Table[Serial Number] ), PARALLELPERIOD( Table[Date], -1, MONTH) )