Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 215917

Create a complex measure

$
0
0

Hi friends,
I have 2 tables that first one contains the Sales1, productID,date and another contains Sales2,ProductID,date and both have the relationship with time and product dimension

 

I need to create a report that has a date slicer, so when i select a date on the slicer, i would create a measure to combine Sales from 2 tables with conditions as:

i.E. i selected 15/5/2016 ,  the measure =sum (Sales1) for 2days ago (including 15/14 of May 2016 )+ SUM(sales2) for all of previous days( it means SUM(Sales2) start from firstday of Sales2 and end at 13/5/2016), after that I show up the mesure into a table chart with Product hierachy on row and day by day on columns.

 

Please give me some advices.

Best regards,
J.


Viewing all articles
Browse latest Browse all 215917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>