Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello experts,
I am new in powerbi. Need help in below case.
I have order table like below.
Order Received Date | Order Received Month | Order Number | Order Delivered On | Order Delivered Month | Payment Received On | Payment Received Month |
01/06/2017 | Jun | 2000 | 26/06/2017 | Jun | 30/06/2017 | Jun |
01/06/2017 | Jun | 2001 | 27/06/2017 | Jun | 30/06/2017 | Jun |
01/06/2017 | Jun | 2002 | 07/07/2017 | Jul | 31/07/2017 | Jul |
08/06/2017 | Jun | 2003 | ||||
09/06/2017 | Jun | 2004 | 10/07/2017 | Jul | 31/07/2017 | Jul |
05/07/2017 | Jul | 2005 | 31/07/2017 | Jul | 31/08/2017 | Aug |
05/07/2017 | Jul | 2006 | 01/08/2017 | Aug | 31/08/2017 | Aug |
08/08/2017 | Aug | 2007 |
I want to output like below in the calculated table to see order backlog. Please help.
Row Labels | Orders Received | Orders Delivered | Payment Received |
Jun | 5 | 2 | 2 |
Jul | 2 | 3 | 2 |
Aug | 1 | 1 | 2 |
Grand Total | 8 | 6 | 6 |
Solved! Go to Solution.
I would use the Query Editor to get your data into the following format:
Order Number, Month, Type, Date
2000, Jun, Order Received, 01/06/2017
2000, Jun, Order Delivered, 26/06/2017
2000, Jun, Payment Received, 30/06/2017
...
You should be able to do this by either breaking this into multiple queries and appending or potentially unpivoting columns but for data in that format, I'm thinking multiple queries and appending together.
At that point, your issue becomes fairly simple, you simply need a COUNT of each Type and a visual that includes Month and the measures you create for these, which would look something like:
Orders Delivered = COUNT(Table[Order Number],FILTER(Table,[Type]="Order Delivered"))
I would use the Query Editor to get your data into the following format:
Order Number, Month, Type, Date
2000, Jun, Order Received, 01/06/2017
2000, Jun, Order Delivered, 26/06/2017
2000, Jun, Payment Received, 30/06/2017
...
You should be able to do this by either breaking this into multiple queries and appending or potentially unpivoting columns but for data in that format, I'm thinking multiple queries and appending together.
At that point, your issue becomes fairly simple, you simply need a COUNT of each Type and a visual that includes Month and the measures you create for these, which would look something like:
Orders Delivered = COUNT(Table[Order Number],FILTER(Table,[Type]="Order Delivered"))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
3 |