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.
How can I create a distinct count with this condition? Status column will be completed once the new routine column has value.
Solved! Go to Solution.
Hi @scalonia
please try
Status =
VAR T1 =
CALCULATETABLE ( 'Table 1', ALLEXCEPT ( 'Table 1', 'Table 1'[Entity ID] ) )
VAR T2 =
FILTER ( T1, 'Table 1'[New Routine] <> BLANK () )
RETURN
IF (
COUNTROWS ( T1 ) = COUNTROWS ( T2 )
&& COUNTROWS ( T2 ) > 1,
"Completed",
"Not Completed"
)
Hi @scalonia
please try
Status =
VAR T1 =
CALCULATETABLE ( 'Table 1', ALLEXCEPT ( 'Table 1', 'Table 1'[Entity ID] ) )
VAR T2 =
FILTER ( T1, 'Table 1'[New Routine] <> BLANK () )
RETURN
IF (
COUNTROWS ( T1 ) = COUNTROWS ( T2 )
&& COUNTROWS ( T2 ) > 1,
"Completed",
"Not Completed"
)
Would you be able to help me on this? For this entity #, if 1 is yes, then the result is satisfied.
Status 2 =
VAR T1 =
CALCULATETABLE (
VALUES ( 'Table 1'[New Routine] ),
ALLEXCEPT ( 'Table 1', 'Table 1'[Entity ID] )
)
RETURN
IF ( "Yes" IN T1, "Satisfied", "Not Satisfied" )
Did not work
It works! Thank you!
Up
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 |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |