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
curious_111
New Member

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
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.