Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Total Orders by Vendor =
Var OrdersPerVen='ZPSMGR'[Ven #]
Return
Countrows(
filter(
All('ZPSMGR'),OrdersPerVen='ZPSMGR'[Ven #]))
I am making a dashboard for on time delivery metrics. I figured out how to countrows for only a certain ven number to see how many orders were recieved from that vendor. Now I need to add another column with the same code but with an additonal condition/pararmeter (that may be the wrong term) that will show me only rows with that [Ven #] && were "On Time" from the [OTD] column.
Solved! Go to Solution.
Hi @jmetf150 ,
If I understand correctly, the issue is that you want to modify formula to include multiple conditions.
You can modify the DAX formula to include the additional condition. Please try the following DAX formula and check if can solve your problem:
Total Orders by Vendor On Time =
VAR OrdersPerVen = 'ZPSMGR'[Ven #]
RETURN
COUNTROWS(
FILTER(
ALL('ZPSMGR'),
OrdersPerVen = 'ZPSMGR'[Ven #] && 'ZPSMGR'[OTD] = "On Time"
)
)
Looking forward to your reply.
Best Regards,
Wisdom Wu
Hi @jmetf150 ,
If I understand correctly, the issue is that you want to modify formula to include multiple conditions.
You can modify the DAX formula to include the additional condition. Please try the following DAX formula and check if can solve your problem:
Total Orders by Vendor On Time =
VAR OrdersPerVen = 'ZPSMGR'[Ven #]
RETURN
COUNTROWS(
FILTER(
ALL('ZPSMGR'),
OrdersPerVen = 'ZPSMGR'[Ven #] && 'ZPSMGR'[OTD] = "On Time"
)
)
Looking forward to your reply.
Best Regards,
Wisdom Wu
That worked. Thank you.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |