Jump to content

Recommended Posts

Posted

Please help ...Issue details ...

 

1. Source table has no data for a particular Date.

2. But on SSRS report date should be displayed ( on Bar Chart Category axis ) and nothing should be displayed.

3. How can we achieve this ?

Posted

nee dataset query lo ne all dates vafchetattu chey.....use outer join..aa date column unna table ki outer join chey,,,so a date vastundi

Posted

1. Source Table for this Report is One Single table ...so  JOIN ruled out kadaa

2. Source table has no entry for "Date in Question" so how can I get the data for this date in question ???

Posted

1. Source Table for this Report is One Single table ...so  JOIN ruled out kadaa

2. Source table has no entry for "Date in Question" so how can I get the data for this date in question ???

 

date dimension  table untundi kada....daniki join chey...

Posted

date dimension  table untundi kada....daniki join chey...

 

Thank you ...but problem entante ..data base worst gaa design chesaaru ...  ...Dimension table asalu ledu :-(

Posted

Thank you ...but problem entante ..data base worst gaa design chesaaru ...  ...Dimension table asalu ledu :-(

 

date dim table lekunda how man,,,

Posted

date dim table lekunda how man,,,

 

 
ade kadaa  client gaadu alaa chesaadu database design worst gaa...

Posted

create a date range inside the cte and use a cross apply man.. thats it... 89wyt.gif

Posted

Thank you ...but problem entante ..data base worst gaa design chesaaru ...  ...Dimension table asalu ledu :-(

 

very common scenario man.. no need to worry... how many days you are looking at a strech?? 89wyt.gif

Posted

create a date range inside the cte and use a cross apply man.. thats it... 89wyt.gif

 

thank you .....I tried that ....dataset lo correct gaane vachindi ...report lo edo issue undi display avvatledu ....

 

Posted

very common scenario man.. no need to worry... how many days you are looking at a strech?? 89wyt.gif

 

8 days ....
 

Posted

8 days ....
 

 

deeniki kuda inta alochistunnava man... chimple ey kada... 89wyt.gif

Posted

post report screenshot here....and dataset result

Posted
;WITH CTE AS
(
 SELECT CAST(DATEADD(D, -8, GETDATE()) AS DATE) AS [Date]
 UNION ALL
 SELECT DATEADD(D, 1, [Date]) FROM CTE WHERE DATEADD(D, 1, [Date]) <= Getdate()
 )
 SELECT * FROM CTE

Use this man... 89wyt.gif

Posted

post report screenshot here....and dataset result

 

why do you need that man??? 89wyt.gif
 

×
×
  • Create New...