Forum Discussion
BarrilleauxAP
6 years agoRegular Visitor
Two aggregations on the same table
I am new to Power BI although I have used other reporting packages. I have a single table that has two date columns, CreateDate & ShipDate. What i am trying to acheive is a bar graph that shows...
- 6 years ago
I got this to work. What i had to do was change the count function into calcuate and add UseRelationship. All good! Thanks for the help!
jthomson
Solution Sage
6 years agoThis sort of thing is easiest if you make a date table to use as your bar graph axis, then make an active relationship to the createdate and an inactive relationship to the shipdate. It's then just a case of two measures - one counting the rows, and another counting the rows using the alternative relationship. Take one from the other, job done
BarrilleauxAP
6 years agoRegular Visitor
I created a new, seperate date table and pointed the two dates as you suggested and i an still seeing an aggregate that is the same for all days.