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
I have this formula:
Hi, @UsePowerBI
Could you please show us some sample data and expected result with One Drive for business? Do mask sensitive data before uploading. Thanks.
Best Regards
Allan
Hi, @UsePowerBI
If you take the answer of someone, please mark it as the solution to help the other members who have same problems find it more quickly. If not, let me know and I'll try to help you further. Thanks.
Best Regards
Allan
Hi, @UsePowerBI
Based on your description, I created data to reproduce your scenario.
CurrentTable:
AnotherTable:
You may create a measure as below.
Result =
var _col1 = SELECTEDVALUE(CurrentTable[Col1])
return
IF(
_col1 = "1",
CALCULATE(
COUNT(AnotherTable[Col2]),
FILTER(
ALL(AnotherTable),
AND(
AnotherTable[Col3]=_col1,
AnotherTable[Col2]=BLANK()
)
)
)
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please explain the issue again and provide some sample data and expected outcome.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
90 | |
89 | |
85 | |
73 | |
49 |
User | Count |
---|---|
169 | |
144 | |
90 | |
70 | |
58 |