Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hey,
I have a staff location table, and a transaction location table, and I want build a measure that calculate revenue that addsall transaction locations except the selected staff location.
Is there a way to accomplish that without adding a new column since I can only add measures to my model?
Thanks!
Hi @ahassan44
Can you provide a detail sample to show your data ? We have no way of providing specific formulas without knowing your data .
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@ahassan44 , Assume you want to count or sum from the transaction table
then
calculate(countrows(transaction ), filter(transaction , not transaction[Location] in values(Staff[Location]) ) )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
50 | |
27 | |
23 | |
13 | |
8 |
User | Count |
---|---|
73 | |
51 | |
45 | |
16 | |
12 |