cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TheSAY Frequent Visitor
Frequent Visitor

Multiple Months/Dates - Using Three Slicers

Good afternoon,

 

I am looking for some help to get a report changed for better utilization of the data, but I am currently struggling on how to do so.

 

We have a Membership Information report that is currently setup as follows:

  1. A folder called Units holds CSV spreadsheets.  They are titled as the year the data is for and contain data for December of that year.  For example, the 2012.csv spreadsheet contains data from December 2012.
  2. When the data is run, the "Report Run Date" data is the first of the new year.  For example, the 2012.csv spreadsheet has 01/01/2013 for the Report Run Date column.
  3. Data queries were created for each separate CSV file.  For example, a query called "Members 2012" was created for the 2012.csv file.
  4. Each query was edited to remove certain columns and add custom/conditional columns to differentiate the 2012 year from the 2013 year the report was run from.
  5. A "Members" query is combining all of them.

 

Here's what the 2012.csv looks like:

2012MemInfo.png

 

Here's what the query looks like, after making the changes needed (we only needed the Branch, Membership Type, Report Run Date, Current Units and Current Members columns):

2012MemQuery.png

 

In the example above, the "Year" column was added to allow the conditional column of "Report Year" to show the actual year the data was for.  2013 > 2012, 2014 > 2013, and so on.

 

As of right now, the report uses "Branch" and "Membership Type" as the slicers.

 

What's I'm hoping to do, is be able to run ALL of the date ranges together, rather than just December, and use a single spreadsheet to allow "Branch", "Membership Type" and "Month" as the slicers, so we have a better comparison per year, rather than all prior years remaining the same.

 

Here's what the spreadsheet looks like with everything:

MemInfoAllExample.png

 

We would need the same thing to happen, where if the "Report Run Date" is September, the actual month would be August, and if the "Report Run Date" is January, the actual month would be December of the prior year.

 

Testing it out, I was able to duplicate the December numbers, but only if Month "1" was selected.  Here's what it looks like:

MemInfoMonthSelect.png

 

As you can also see, it's only showing 2013 and not 2012 like the other one does.

 

Is anyone able to help me get this changed, so only one spreadsheet needs to be used, all years show up, and the three slicers can be used?

3 REPLIES 3
Community Support Team
Community Support Team

Re: Multiple Months/Dates - Using Three Slicers

Hi @TheSAY,

 

Maybe we can create an independent date table and add the new date table as slicer to work on it. We can use SELECTEDVALUE function to create measures to work on it. Kindly share your pbix and csv to me, please upload the files to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TheSAY Frequent Visitor
Frequent Visitor

Re: Multiple Months/Dates - Using Three Slicers

Hi @v-frfei-msft,

 

Sorry for the delayed response.  As requested, here are the PBIX and CSV files.

 

PBIX: https://1drv.ms/u/s!Ar-qf5t6I8TOo0RaeZ-fcD79r14V

 

CSV: https://1drv.ms/u/s!Ar-qf5t6I8TOo0W4IlAoQRMQmpiO

TheSAY Frequent Visitor
Frequent Visitor

Re: Multiple Months/Dates - Using Three Slicers

Hi @v-frfei-msft,

 

I just wanted to follow up and see if you've had the chance to possibly take a look at this.