Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 a range of days calculating the net difference (each day) between the number (count) of records shipped minus the number (count) of records created. The ShipDate is null until the record is shipped. A sample of a few rows from the table is included below.
Thanks in advance for the help!
Sample of Table
Solved! Go to Solution.
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!
Kindly refer to the official documents for more hints about aggregation:
https://docs.microsoft.com/en-us/power-bi/desktop-aggregations
This 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
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!
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.
I had tried that but i suspect there is an issue with the way i am counting the rows. I am using COUNT(PickList[Create]) and COUNT(PickList[ShipDate]) however i get the same total for each date in the series.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.