Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17899

SQL Query Editor Advise

$
0
0

Hi,

I'm struggling to figure out the best way to tackle this problem.

I have an SQL db with PBI gateway, Premium Service.

I have a table like below:

 

ID         |Overidden ID |Owning Location |DelLocation |Start Date    |EndDate       |Poperty1  |Property2 | etc
1          |0            |Loc1            |Cus1        |2018-07-01    |2018-08-01    |True      |12        |
2          |1            |Loc1            |Cus1        |2018-07-10    |2018-07-10    |True      |10        |

 

I want to display 7 days data using a slicer. So if I used a slicer and selected Wc 1st July. Then I would only display the details for ID 1. But if I filtered on Wc 8th July then I need to display the detail of ID1 for everyday other than the 10th. There can also be overidden overides, say the original could last 3 months, then an overide for a week in the middle then another overide for one day within the middle week.

I have zero control over the SQL db.

 


Viewing all articles
Browse latest Browse all 17899

Trending Articles



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