Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello all,
I am new to PowerBI so I need your help.
I am trying to count the order id if a certain price but it shows as errors. I am trying to calculate the orderid if they have the price of 5.92 or 4.87. I am not sure what I do wrong here. Thank you
Solved! Go to Solution.
Hi Rhoang,
could you formulate your measure as referenced below? This should work
CountTest =
CALCULATE (
COUNT ( 'TestTable'[ID] ),
TestTable[Value] = 5.92
|| TestTable[Value] = 4.87
)
Best regards,
Tim
Proud to be a Super User!
Hi Rhoang,
could you formulate your measure as referenced below? This should work
CountTest =
CALCULATE (
COUNT ( 'TestTable'[ID] ),
TestTable[Value] = 5.92
|| TestTable[Value] = 4.87
)
Best regards,
Tim
Proud to be a Super User!
It worked woohoo. Thank you so much Tim!
Best regards,
Ryan
Awesome, good to hear!
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 64 | |
| 50 | |
| 45 |