March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |