Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

power view 2013 bar/column chart with drill through feature, can I not sum data?

$
0
0

I have some difficulty to generate a bar chart report with Power View 2013. My problem is mainly because of the data set I have, something like this:

KeyId DisplayName Value
ActionAction400
Action|MoviesMovies100
Action|Movies|2 Days in Paris2 Days in Paris10
Action|Movies|Bel AmiBel Ami20
Action|Movies|Blue DemonBlue Demon15
Action|TV ShowsTV Shows80
Action|TV Shows|The FallThe Fall20
Action|TV Shows|Zookeeper Zookeeper 10

My goal is to have bar chart, on the first view, only show 'Action' with 400, click on this bar, it shows 'Movies' and 'TV Shows' with value 100 and 80 prespectively. Then click on either 'Movies' or 'TV Shows' bar, then it display bars represent show titles.

I used PATHITEM function created 3 colums like this:

KeyIdDisplayNameValueGenreCategoryTitle
ActionAction400Action
Action|MoviesMovies100ActionMovies
Action|Movies|2 Days in Paris2 Days in Paris10ActionMovies2 Days in Paris
Action|Movies|Bel AmiBel Ami20ActionMoviesBel Ami
Action|Movies|Blue DemonBlue Demon15ActionMoviesBlue Demon
Action|TV ShowsTV Shows80ActionTV Shows
Action|TV Shows|The FallThe Fall20ActionTV ShowsThe Fall
Action|TV Shows|ZookeeperZookeeper10ActionTV ShowsZookeeper

And I created a hieriachy called Shows, and added the 3 newly created columns to this hieriachy. I am able to get the drillthrough feature, however, notice my data, the Action|Movies value (100) in our scenario indicate the top 10 movies in the category, and does not equal to the sum value (10+20+15=45) of the movies on this list.

Use Matrix, I can list the data in proper hieriachy. However, I am not able to do it with bar or column chart in Power View 2013.

Does anyone has suggestion? Do I need to do more data modeling on this in order to reach my goal, or it's imposible because the bar/column chart always summarize values in its own fashion?

Thank you very much!

Eunice


Viewing all articles
Browse latest Browse all 20764

Trending Articles



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