Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Requirement:
I need the correct status for each item, both for a single prodid and for multiple prodids. I want to accumulate the same items along with their quantities and update their status accordingly.
Restriction:
I must achieve this using a calculated column and cannot use Measures or calculated tables.
Problem:
I've successfully accumulated the quantities of repeated items for multiple selected prodids. However, I'm encountering difficulties in preparing the status column. Despite trying various approaches, I haven't achieved the desired results.
Location:
You can find the details in the second tab under 'Ordering Status Dashboard Consolidated View'.
I have attached the .pbiz file and some screenshots to provide a better understanding.
In this link you can finf the pbiviz file:
https://drive.google.com/drive/folders/1yGN8Qq_VXUvYQ5dsblUbXrxS_XkTDEfC?usp=sharing
Your positive response would be highly appreciated. Thanks
Hi, @Anonymous
Can you give me an example of your current state results that do not meet your expected output and what the correct output should be?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your response. Unfortunately, due to our server's restrictions within the organization, I'm unable to explain from server.
Allow me to illustrate the situation using an example:
I've created a measure named "StatusColumnMeasure," which displays correct results for both single production selection and multiple selections. I also have calculated column, named 'Statuses' I also have attached the pictures below
My requirement is to have this status information presented in a column format, not as a measure or calculated table, as I need to use this status information in charts as well.
The issue arises when comparing the status of itemid = P100269 in the 1st. For the single production order, the column displays "OH/Need to Order," while the measure shows "OH/Need to Order," which is the correct status.
Wherease when comparing the status of itemid = P100269 in the 2nd. For the multiple production order, the column displays "OH/Need to Order," That's wrong result. while the measure shows "OH," which is the correct status.
Note: You can also view the status query to determine the correct status. I'm creating the different status on different QTYs. Let me write the it:
If REQ quantity is equal to OH quantity then status is OH, If REQ quantity is equal to NTO quantity then status is NTO, If REQ quantity is equal to Ordered quantity then status is Ordered, If REQ quantity is equal to OH quantity + Ordered quantity then status is OH/Ordered, If REQ quantity is equal to OH quantity + NTO quantity then status is OH/NTO, If REQ quantity is equal to NTO quantity + Ordered quantity then status is Partially Ordered.
Let me write Status Measure and Columsn queries. .
I have pasted this just understand the status which is depedent on QTYs.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
91 | |
87 | |
84 | |
68 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
70 | |
67 |