Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
spanj7
New Member

Daily Revenue Bar or Line Graph

Hi All, 

 

I am trying to recreate the below chart in Power BI. I thought it would be straight forward but I can't seem to figure it out. 

 

spanj7_0-1637187413093.png

 

I have tried several different ways (separate date and revenue data tables, putting them in the same table) but the result is always the below. If I try to filter for Oct and Nov (as shown below), it shows me the total revenue for Oct 1 and Nov 1 in the 1st bar rather than a timeline at the bottom. 

spanj7_1-1637187594785.png

 

Any help would be greatly appreciated!

 

1 REPLY 1
Stachu
Community Champion
Community Champion

In the X axis you need either column of type date (so 2021-10-01, 2021-11-01, etc.) or 2 columns for month & day, with the visual drilled down to the lowest level. Otherwise it treats day = 1 as a single datapoint, regardless of the month
Another thing is that in your reference chart the values seem to be cumulative, while in the barchart they're individual data points. You can right click on the measure and use 'New quick measure' functionality:

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-quick-measures

 

Alternatively you can add sample tables (in format that can be copied to PowerBI) from your model with anonymised data (lke below) and we can write the running total manually.

Column1Column2
A1
B2.5

 



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.