Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
My data set has packages that have components (there can be any number of components) where each component is a separate row.
I'm looking to make a custom column that identifies when all of the components for a given package is complete. The data for if it's complete or not is true/false.
What would the dax be for this?
Solved! Go to Solution.
In the end, this is what worked:
In the end, this is what worked:
Hi @Malorian ,
Based on your problems, here are my answers.
I create a corresponding table based on your needs.
Then write the DAX code to get a new column, this column is used to indicate whether the item is complete or not, denoted by True/False.
Column =
VAR _aa = 'Table'[PackageID]
VAR _A =
CALCULATETABLE ( 'Table', FILTER ( 'Table', 'Table'[PackageID] = _aa ) )
VAR _B =
FILTER ( _A, 'Table'[IsComplete] = FALSE () )
RETURN
IF ( COUNTROWS ( _B ) = 0, TRUE (), FALSE () )
Finally, you will get what you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
To be clear, this is more of the table I'm dealing with:
Hi,
Go to the "Modeling" tab in Power BI.
Click on "New Column" from the toolbar.
In the formula bar that appears, enter the following DAX formula:
I'm getting an error:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
75 | |
62 | |
51 | |
47 |
User | Count |
---|---|
213 | |
81 | |
64 | |
60 | |
56 |