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
Hi all, i thought this was simple but am new to PowerBI and have obviously found myself in a deep end.
I have 2 related tables i want to check if a value exists on the "many" side.
In the Applications table, i want a flag to show if a task type of "Form Received" for that application ID exists in the Task table.
The yellow column is what i want to create
Solved! Go to Solution.
Hi @Jwah ,
Try this as a calculated colum in application table.
=
NOT (
ISBLANK (
CALCULATE (
COUNTROWS ( 'task' ),
FILTER (
'task',
'task'[task_type] = "Form Received"
&& 'task'[applicationid] = EARLIER ( 'application'[applicationid] )
)
)
)
)
This will count the rows where task type =form received and the applicationid matches the current row applicationid. If it doesn't return blank then the conditions are met.
Proud to be a Super User!
Hi @Jwah ,
Try this as a calculated colum in application table.
=
NOT (
ISBLANK (
CALCULATE (
COUNTROWS ( 'task' ),
FILTER (
'task',
'task'[task_type] = "Form Received"
&& 'task'[applicationid] = EARLIER ( 'application'[applicationid] )
)
)
)
)
This will count the rows where task type =form received and the applicationid matches the current row applicationid. If it doesn't return blank then the conditions are met.
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 |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |