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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Shipment and order status tracking

Hi All,

 

I am stuck here,

 

Is it possible to develop visuals in power bi to define the status of order similar to Amazon order tracking system??

 

i have the necessary data for each step of process the start and the end time, my thinking about the chart can be similar to amazon tracking system, when we enter the order no it will show the status of the order completion and show the current step where the order is waiting now.

 

Order tracking.JPG

 

 

any help, opinion or alternative ideas for similar cases are welcome and appreciated.

 

looking forward to your help.

 

Regards,Vint

 

 

 

 

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Anonymous 

Something like this is doable

2020-06-26_8-35-04.png

You need a table with the statuses and when you add it to the X axis you set it to show items with no data.  My sample file is attached.

 

View solution in original post

12 REPLIES 12
Syndicate_Admin
Administrator
Administrator

1Z2333RAYN14843908

jdbuchanan71
Super User
Super User

Hello @Anonymous,

For your example we will still need an order status table that has the statuses with a number column that identifes the order they go through.  This table does not get linked to the order table however.

The order table will also need to have the order of the step it is on. 

In updated sample file (attached) I pulled the step to the order table from the order status table just using a LOOKUPVALUE

Status_Step = LOOKUPVALUE ( 'Order Status'[Status_Sort], 'Order Status'[Status], Orders[Status] )

Then we use a measure to read the current step the order is on and count the rows of status that are the same or earlier.

Measure = 
VAR _OrderStatus = SELECTEDVALUE ( Orders[Status_Step] )
RETURN 
IF ( NOT ISBLANK ( _OrderStatus ),
    COUNTROWS ( 
        FILTER ( 
            VALUES ( 'Order Status'[Status_Sort] ), 
            'Order Status'[Status_Sort] <= _OrderStatus ) 
    )
)

You do still have to pull the Status from the Status table into the chart and set the axis to show items with no data.

jdbuchanan71_0-1666619197239.png

 

parry2k
Super User
Super User

@Cortana can you explain what didn't work otherwise it is hard to pinpoint the issue.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thank you for your support. @parry2k 

I have an opportunity history table from Salesforce. I was trying to track the stages.

There are many stage names in there, but my concern is only 6 of them. Those are-

  1. 6 Qualification
  2. 5 Solution Fit
  3. 4 Evaluation
  4. 3 Decision
  5. 2 Negotiation
  6. 1 Closed Won

There can be multiple stage names for an opportunity but the current stage for that opportunity should be the one having the latest Created Date. 

Logically all the opportunities should have started from 6 Qualifications and goes towards serially. But in this case, due to missing values, it was not possible to track all the opportunities from 6 Qualifications.  That is why some opportunities have started from other than 6 Qualifications.  

 

So what I want is-

If an opportunity starts from 4 Evaluation and the current stage is 2 Negotiation, It should show previous stages are completed. 

I watched your video. The data you used is different from mine. Here OpportunityID is Order & Stage Name is Order Status. Can you please have a look at my data and tell me if it is possible? 

parry2k
Super User
Super User

@Cortana I did a video on this, check it out here. https://youtu.be/6sMIwNqjJI4

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Great! @parry2k 

Thanks for the suggestion. I watched your videos and tried but it's not working like that. I have already asked a question here. Can you have a look, please?

jdbuchanan71
Super User
Super User

@Anonymous 

Something like this is doable

2020-06-26_8-35-04.png

You need a table with the statuses and when you add it to the X axis you set it to show items with no data.  My sample file is attached.

 

Anonymous
Not applicable

Hello! Thank you for the great sample file.

I wanted to continue on it with my exported data from d365, however since its one status per sales order for me I cannot find a way to have it showing All previous statuses as they only have one status/sales order. :

ROcellink_0-1666616735645.png

 

Could you help me out finding a solution to this that would return ex. Canceled+Backorder if the Status is Backorder? Same for Delivered, Returns all Statuses like you have in yours 

ROcellink_1-1666616735638.png

 

Without having to add extra rows in the sales orders raw data 

I'm having the same result with the added challenge that I cannot add columns to the source "orders" table but at least managed to get the "dot" 😄

Hi there @Anonymous,

I was trying to do similar output but did not work out. Can you please help me with that please? 

Did you get this sorted? 😮

parry2k
Super User
Super User

@Anonymous I think it is pretty much possible. can you share pbix file with sample data to put together a solution? 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.