Keeping same number of columns at cross tab report

六月ゝ 毕业季﹏ 提交于 2020-01-05 10:30:21

问题


I have a cross-tab report which similar to this

Problem is when there are no data to one month that column won't appear in the report. I would like to keep the same number of column even there are empty values for the row data. Is it possible to achieve in cross-tab reports??

Thanks


回答1:


This is a problem more with the underlying dataset. You have two options:

  • Modify your query to always return data even for "empty" groups
  • Hardcode the columns into the cross-tab

Option 1 is probably the best approach. Take a look at this similar question: Handling non existent values in sql query expression for ssrs chart



来源:https://stackoverflow.com/questions/9923042/keeping-same-number-of-columns-at-cross-tab-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!