The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I'm trying to write a formula which needs to include an IF statement.
Note:
"SharedHours" is a measure
"Percent" is a measure
Solved! Go to Solution.
Hey @Anonymous ,
try the following approach. I assume the clients name would be in a column [ClientName] in the table Clients (Clients[ClientName]):
Hours =
CALCULATE(
[SharedHours],
ALL(Clients)),
Clients[ClientName] <> "ABC"
) * [Percent]
Hey @Anonymous ,
try the following approach. I assume the clients name would be in a column [ClientName] in the table Clients (Clients[ClientName]):
Hours =
CALCULATE(
[SharedHours],
ALL(Clients)),
Clients[ClientName] <> "ABC"
) * [Percent]
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
77 | |
71 | |
47 | |
39 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
57 |