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

Progress of a measure in time from two different tables with non-unique date stamp

$
0
0

Hi Community

 

I would appreciate your help on that one:

I have a measure that calculates a sum of values from one table (say table1) and divides the result with a count of rows from another table (say table2). The problem is that I would also like to display the progress of this measure in time.

  • Each of these tables (table1&2) includes a date-time column but not with unique values (meaning that for the same date you can have multiple values-rows)
  • My idea was to create a new table with my own unique dates and try for each day to
    • look up for the sum of values corresponding to that date from table 1
    • look up for the count of rows corresponding to that date from table 2

I still have trouble with it. I guess it's a combination of "CALCULATE() & LOOKUPVALUE()" but I've had a number of not so successful attempts.

 

Thanks in advance

Looking forward to your recommendations on the right formulas or even different ways to calculate this!


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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