Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
In my dataset, each row has a common field 'PhaseID', and for each 'PhaseID' there is one or more 'Process Name'(s). I need to filter the data in my matrix visual for all the 'PhaseID'(s) that contain a 'Process Name = Finishing' and show all the rows for that PhaseID where there is a Finishing Process Name. My thought was to add a formula to each row in the table to look at all the Phase ID's and if there is a 'Process = Finishing' then create a new column called 'Finishing Y/N' and return Y if it exists and N if it does not. Then I could apply a filter based on this value for each row.
My second request is that I also need to find the 'ScheduledStartDate' for the Finishing Process and create a new column called 'Finishing Start' and for each Phase ID that has a Finishing Process add this Finishing ScheduledStartDate.
As you can see in the above sample set, PhaseID 99840 has a Finishing Process Name, so the New Column 'Finishing Y/N' would have 'Y' for each row and the Finishing Start would be poplulated with the Finishing ShceduledStartDate for that same process / phase id for each row.
Any help is appreciated!
Solved! Go to Solution.
Hi @vincenardo ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want. You can create two calculated columns as below:
Finishing Y/N =
VAR _count =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Process Name] ),
FILTER (
'Table',
'Table'[PhaseID] = EARLIER ( 'Table'[PhaseID] )
&& 'Table'[Process Name] = "Finishing"
)
)
RETURN
IF ( _count >= 1, "Y", "N" )Finishing Start =
CALCULATE (
MAX ( 'Table'[ScheduledStartDate] ),
FILTER (
'Table',
'Table'[PhaseID] = EARLIER ( 'Table'[PhaseID] )
&& 'Table'[Process Name] = "Finishing"
)
)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @vincenardo ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want. You can create two calculated columns as below:
Finishing Y/N =
VAR _count =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Process Name] ),
FILTER (
'Table',
'Table'[PhaseID] = EARLIER ( 'Table'[PhaseID] )
&& 'Table'[Process Name] = "Finishing"
)
)
RETURN
IF ( _count >= 1, "Y", "N" )Finishing Start =
CALCULATE (
MAX ( 'Table'[ScheduledStartDate] ),
FILTER (
'Table',
'Table'[PhaseID] = EARLIER ( 'Table'[PhaseID] )
&& 'Table'[Process Name] = "Finishing"
)
)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Work Perfectly! Thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 44 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 72 | |
| 55 |