Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
In my attached excel file,
1] 500kg machine have 03pcs, 750kg machine have 04pcs, 1000kg machine have 02pcs, 1200kg machine have 01pcs, 1500kg machine have 01pcs
2] Total Dyelot no quantity is 11
I want to divided total dyelot no quantity with total 500kg machine quantity(03).
Thus, divided total dyelot no quantity with total 750kg machine quantity(04),
divided total dyelot no quantity with total 1000kg machine quantity(02),
divided total dyelot no quantity with total 1200kg machine quantity(01),
divided total dyelot no quantity with total 1500kg machine quantity(01),
3] Then divided result 3.66 will be place top of the bar of 500kg machine,
divided result 2.75 will be place top of the bar of 750kg machine,
divided result 5.5 will be place top of the bar of 1000kg machine,
divided result 11 will be place top of the bar of 1200kg machine,
divided result 11 will be place top of the bar of 1500kg machine,
please give me a DAX like the attached picture to the attached BI file.
https://drive.google.com/file/d/1qMA_GVjtrrstwQ7hfB5keS77m71ETdGf/view?usp=drive_link
https://drive.google.com/file/d/1F4Cy1u-6BpKWDiHW7lVdk2cjp5ccKSD7/view?usp=drive_link
Solved! Go to Solution.
Hi @Emranit ,
Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.
Based on my understanding, the following DAX measure might help you address the query:
Dyelot Per Machine = VAR TotalDyelot = 11
DIVIDE(TotalDyelot, SELECTEDVALUE('Machines'[Machine Count]), BLANK())
To get the divided result on top of the bar of each value machine, select a clustered column chart :
Display the Dyelot per Machine (new measure) as data labels on top of each bar. To enable data labels:
Refer the attached file for more clarification.
If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Hi @Emranit ,
Thanks for your follow-up! Based on your request, you may use the following DAX formula to calculate the average number of machines by dividing the total selected machines by the unique machine count:
For better understanding, I have created a new measure to get the average value.Please refer the below screenshot for clear understanding.
You can either modify your existing card measure or create a new measure using this formula to get the average as needed. Let me know if you need any further adjustments!
I hope this helps.Thank you for your cooperation. Have a great day.
Regards,
Pallavi.
In the attached excel file total dyelot quantity 25 and total machine type of quantity 8.
I am getting default Dyelot quantity per Machine in BI file when divided with dyelot quantity and Machine type of Quantity. It's good.
Additionally, my requirements are if I select one machine one will divide with display dyelot quantity that will present in attached BI file in Bar visualization (default Dyelot per Machine).
Thus, if I select more machines, more machine numbers of quantities will divide with display dyelot quantity that will present in attached BI file in Bar visualization (default Dyelot per Machine).
Thus it will be work by a DAX. Please see the attached files and help me.
https://drive.google.com/file/d/106qZGsrfDdxEwzecL1bVAlHYOw_cWS1-/view?usp=sharing
https://drive.google.com/file/d/19PuLZO_cOpbv_9vp5C6L0EK_9N10npb2/view?usp=sharing
Hi @Emranit ,
Upon reviewing the provided information, Based on my understanding below steps might assist you in addressing the issue.
1. Create a measure for Dyelot Per Machine Type using below DAX query:
Attaching the file and the screenshot for your reference.This will help you in clear understanding.
Actually I didn't get my requirements. I'm getting default dyelot quantity from each machine per day. I need not sum of dyelot quantity as your attached images. If I select one or more machine one or more number of quantity will divide with display dyelot quantity that will present in attached BI file in Bar visualization (default Dyelot per Machine).
Please provide ma a DAX that always divided with Dyelot quantity and Machine selection quantity as the attached image.
There are marked with a box in the image, It's good. It''s count dyelot quantity and selection number Machine. Now my needs a dax that will be the divided output like 3.5. Please help me.
Hi @Emranit ,
Thanks for your follow-up! Based on your request, you may use the following DAX formula to calculate the average number of machines by dividing the total selected machines by the unique machine count:
For better understanding, I have created a new measure to get the average value.Please refer the below screenshot for clear understanding.
You can either modify your existing card measure or create a new measure using this formula to get the average as needed. Let me know if you need any further adjustments!
I hope this helps.Thank you for your cooperation. Have a great day.
Regards,
Pallavi.
In the attached excel file total dyelot quantity 25 and total machine type of quantity 8.
I am getting default Dyelot quantity per Machine in BI file when divided with dyelot quantity and Machine type of Quantity. It's good.
Additionally, my requirements are if I select one machine one will divide with display dyelot quantity that will present in attached BI file in Bar visualization (default Dyelot per Machine).
Thus, if I select more machines, more machine numbers of quantities will divide with display dyelot quantity that will present in attached BI file in Bar visualization (default Dyelot per Machine).
Thus it will be work by a DAX. Please see the attached files and help me.
https://drive.google.com/file/d/106qZGsrfDdxEwzecL1bVAlHYOw_cWS1-/view?usp=sharing
https://drive.google.com/file/d/19PuLZO_cOpbv_9vp5C6L0EK_9N10npb2/view?usp=sharing
Hi @Emranit ,
Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.
Based on my understanding, the following DAX measure might help you address the query:
Dyelot Per Machine = VAR TotalDyelot = 11
DIVIDE(TotalDyelot, SELECTEDVALUE('Machines'[Machine Count]), BLANK())
To get the divided result on top of the bar of each value machine, select a clustered column chart :
Display the Dyelot per Machine (new measure) as data labels on top of each bar. To enable data labels:
Refer the attached file for more clarification.
If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Sorry, your premise is not clear. Can you explain the business process in more detail? What is the significance of the "Production" column? What are "dyelots" ? What is "MC" ?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
32 | |
31 | |
20 | |
15 | |
13 |
User | Count |
---|---|
18 | |
18 | |
16 | |
10 | |
9 |