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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors