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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

By Weekely Graph

 need to create a bar graph using the shipped amount and ordered amount, which should be like below.

curious_111_2-1711001266034.png

 

But when I am trying to achieve this I got graphs like below

curious_111_1-1711001247777.png

 

curious_111_3-1711001280666.png

I am not sure exactly how can I solve this. My date_table code is

 

Date_Table =
VAR _Table=
ADDCOLUMNS(
    CALENDAR(DATE(2013,1,24),DATE(2014,2,31)),
    "Consecutive Week Number",WEEKNUM([Date],2)
    + 52
        * ( YEAR ( [Date] ) - YEAR (DATE(2013,1,24) ) ),
    "Week Number & Year","W" & WEEKNUM([Date]) & " " & YEAR([Date]),
    "WeekYearNumber",YEAR([Date]) & 100 + WEEKNUM([Date]),
    "MonthShortYear",FORMAT([Date],"mmm-YYYY")
)
RETURN
_Table

 

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors