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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kv41282
Frequent Visitor

Need help with management dashboard workorders

Dear all, i am new here, and i am learning how to use this forum.  sorry for that. 

 

I have a database (reduced version in excel attachment) with workorders for which I would like to create a management dashboard.

I want a number of graphs on the dashboard, see also examples of images in the attachments:

  • trend graph Registered vs completed (in Dutch ‘Aangemeld vs. Afgesloten’).; How many workorders were reported in a month but also how many were closed in that month. This shows the growth or decrease in the last months.
  • trend graph workstock (feasibility) (in Dutch ‘Werkvoorraad, Haalbaar/ niet haalbaar en zonder streefdatum); Per month also the number of workorders that shows how many were feasible [light blue], not feasible [dark blue] or had no target date [orange] in that month based on the planned target date.
  • trend graph Timeliness (in Dutch ‘Tijdigheid’ ; op tijd, te laat, geen streefdatum); per month the number and percentage of workorders that were on time based on the planned target date. on time/too late, without target date with a trendline and a normline.

 

In the excel I have a database with various data of the workorders including the notification date {melddatum), a planned completion date and an actual completion date.

 

With those data fields I want to make the evaluations

The example graphs give an example in Year&Month. but the wish is also to be able to display them in Year&Weeks or years.

The difficulty for me is the date calculations that are displayed dynamically but are fixed in my database. Because something that is reported in January but only reported in June runs through several months. and that now distorts my graphs.

It would be great if you have input and can help me move forward. Thanks in advance.

 

 

 

aangemeld vs afgesloten.pngwerkvoorraad haalbaarheid.pngtijdigheid.png

 

 

IDcontextstatusmelddatumgeplande gereeddatumafdelingCreatie datumwerkelijk gereeddatumwerkelijk gesloten
JobIdJobContextJobRecStatusJobReportDateJobSvcTargetdateJobDepIdJobPrsIdJobRecCreateDateJobFinishDateJobCloseDate
1169677128323-7-2023  08:03:4310-7-2023  08:03:43CUS00303-7-2023  08:03:563-7-2023  08:31:5618-7-2023  00:31:10
1169680128323-7-2023  08:13:5710-7-2023  08:13:57CUS00303-7-2023  08:14:063-7-2023  09:44:1318-7-2023  00:31:10
1169686128323-7-2023  08:27:0710-7-2023  08:27:07CUS00303-7-2023  08:27:303-7-2023  10:44:3918-7-2023  00:31:10
1169688128323-7-2023  08:33:1510-7-2023  08:33:15CUS00303-7-2023  08:33:163-7-2023  08:42:4618-7-2023  00:31:10
1169691128323-7-2023  08:36:5810-7-2023  08:36:58CUS00303-7-2023  08:37:013-7-2023  08:50:1518-7-2023  00:31:10
1169693128323-7-2023  08:37:4410-7-2023  08:37:44CUS00303-7-2023  08:38:553-7-2023  08:53:3618-7-2023  00:31:09
1169698128321-7-2023  08:30:0010-7-2023  00:00:00CUS00303-7-2023  08:46:443-7-2023  08:50:2318-7-2023  00:31:09
1169701128321-7-2023  22:15:0010-7-2023  00:00:00CUS00303-7-2023  08:48:253-7-2023  08:50:4018-7-2023  00:31:09
1169702128323-7-2023  08:49:0810-7-2023  08:49:08CUS00303-7-2023  08:49:153-7-2023  10:13:5518-7-2023  00:31:09
1169703128323-7-2023  08:50:0210-7-2023  08:50:02CUS00303-7-2023  08:50:123-7-2023  10:22:3818-7-2023  00:31:08
1169714128323-7-2023  08:57:3710-7-2023  08:57:37CUS00303-7-2023  08:57:443-7-2023  08:59:3218-7-2023  00:31:08
1169723128323-7-2023  09:08:5010-7-2023  09:08:50CUS00303-7-2023  09:09:043-7-2023  09:49:0918-7-2023  00:31:07
1169729128323-7-2023  09:19:1210-7-2023  09:19:12CUS00303-7-2023  09:19:503-7-2023  09:25:2118-7-2023  00:31:07
1169733128323-7-2023  09:22:4910-7-2023  09:22:49CUS00303-7-2023  09:23:183-7-2023  09:24:4118-7-2023  00:31:07
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @kv41282,

 

According to your statement, I think your requirement is to show dynamic X axis like Year-Month/Year-Week/Year and so on.

As far as I know, you can create a DimDate table and relate it with your data table by [Date] column.

DimDate =
ADDCOLUMNS (
    CALENDARAUTO (),
    "Year", YEAR ( [Date] ),
    "Month", FORMAT ( [Date], "MMM" ),
    "MonthSort", MONTH ( [Date] ),
    "WeekNum", WEEKNUM ( [Date], 2 ),
    "YearMonth", FORMAT ( [Date], "YYYY-MMM" ),
    "YearMonthSort",
        YEAR ( [Date] ) * 100
            + MONTH ( [Date] ),
    "YearWeek",
        FORMAT ( [Date], "YYYY" ) & "-" & "Week" & ""
            & WEEKNUM ( [Date], 2 ),
    "YearWeekSort",
        YEAR ( [Date] ) * 100
            + WEEKNUM ( [Date], 2 )
)

My Sample:

vrzhoumsft_0-1732159889124.png
Then you can use Field parameter to achieve your goal.

For reference: Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn

vrzhoumsft_1-1732159911493.png

Result is as below.

vrzhoumsft_2-1732159961648.png

vrzhoumsft_3-1732159970132.png

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
kv41282
Frequent Visitor

First of all, thanks for your reaction. 

Unfortunately I can't open you pbix with my version of Power BI. 

 

But how does it works with more data columns . Because in the first grafpic that I want, I have per month two bars with "Open"and "Closed" Workorders. 

 

Best Regards,

Kim 

Anonymous
Not applicable

Hi @kv41282,

 

According to your statement, I think your requirement is to show dynamic X axis like Year-Month/Year-Week/Year and so on.

As far as I know, you can create a DimDate table and relate it with your data table by [Date] column.

DimDate =
ADDCOLUMNS (
    CALENDARAUTO (),
    "Year", YEAR ( [Date] ),
    "Month", FORMAT ( [Date], "MMM" ),
    "MonthSort", MONTH ( [Date] ),
    "WeekNum", WEEKNUM ( [Date], 2 ),
    "YearMonth", FORMAT ( [Date], "YYYY-MMM" ),
    "YearMonthSort",
        YEAR ( [Date] ) * 100
            + MONTH ( [Date] ),
    "YearWeek",
        FORMAT ( [Date], "YYYY" ) & "-" & "Week" & ""
            & WEEKNUM ( [Date], 2 ),
    "YearWeekSort",
        YEAR ( [Date] ) * 100
            + WEEKNUM ( [Date], 2 )
)

My Sample:

vrzhoumsft_0-1732159889124.png
Then you can use Field parameter to achieve your goal.

For reference: Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn

vrzhoumsft_1-1732159911493.png

Result is as below.

vrzhoumsft_2-1732159961648.png

vrzhoumsft_3-1732159970132.png

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Top Kudoed Authors