This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi there ;
İ need your help about below issue ;
on the below chart i have two order number and have 3 lines with details .I want to create a column whic one's name is "OTIF ORDER" and colour is yellow
Formula rule will be :
Thanks in
Solved! Go to Solution.
The default row context is Order no, item No and OTIF ITEM
CALCULATE overrides the default row context with ALLEXCEPT Order no.
This drops the Item No and OTIF ITEM default row filters and will process all the rows for the Order no.
The SELECTEDVALUE will return OTIF ITEM value is there is just one value for the Order no.,
otherwise it will return “No OTIF”.
Hope you understand my explanation.
Remember we are BI community volunteers so please click the thumbs-up for me taking the trouble to help you and then accept the solution if it works. Thank you !
The default row context is Order no, item No and OTIF ITEM
CALCULATE overrides the default row context with ALLEXCEPT Order no.
This drops the Item No and OTIF ITEM default row filters and will process all the rows for the Order no.
The SELECTEDVALUE will return OTIF ITEM value is there is just one value for the Order no.,
otherwise it will return “No OTIF”.
Hope you understand my explanation.
Remember we are BI community volunteers so please click the thumbs-up for me taking the trouble to help you and then accept the solution if it works. Thank you !
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |