Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I have a table with numerous fields and I want to show a table in my report with following fields only:
Date, Product Category, Unit
This is how my data (fields I am trying to show in my table) looks like:
Date, product category, sales unit, forecast unit
Jan , A, 10, 10
Jan, B, 15,20
Jan, C, 15,10
Feb, A, 10,20
Feb, B, 10,10
I want to derive the final table as below. Note that units in this table is the forecast unit - sales unit for a month, without considering the product category.
Date, Product category, Units
Jan , A, 0
Jan, B, 0
Jan, C, 0
Feb, A, 10
Feb, B, 10
I tried using All and AllExcept, but didnt seem to work. I could be doing something wrong. Please help me with this.
Solved! Go to Solution.
Thanks a lot. I didnt create it as a measure, my bad.
Thanks Amitchandak for the quick response. But this does not seem to be working for me.
Date, Product category, Units
Jan , A, 10
Jan, B, 10
Jan, C, 10
Feb, A, 10
Feb, B, 10
For Jan, the data should show 0 as the difference for Jan is 0 and for Feb it should show 10.
Thanks a lot. I didnt create it as a measure, my bad.
User | Count |
---|---|
15 | |
13 | |
12 | |
10 | |
10 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
10 |