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.
Hi Experts
I am having an issue figuring out how to summarise and filter columns from different tables which are connected appropriately via one to many relationships. So far I have managed to figure out I need a to summarise and filter two tables, I am trying to bring back 2 dates, 1 from the meeting table (Engagement type) and 1 from the Assess table. Conditions active customers (status from customer table), Assess types "new" and "first" from Assess table.
My dax so far is below but I am getting errors on this:
Solved! Go to Solution.
Hi @Elisa112 ,
Believe that you are missing some parenteses and you have one comma at the end try this changes:
Summary_Table2 =
SUMMARIZECOLUMNS (
"Customer_ID", 'Cust'[C_ID],
"Manager", 'Manager'[M_Name],
"Customer Meeting",
CALCULATE (
MIN ( 'Appointments'[Meeting Date] ),
'Appointments'[Type] = "Engagement"
),
"Assess",
CALCULATE (
MIN ( 'Assess'[Assessment Date] ),
FILTER (
'Assess',
'Assess'[C_ID] = SELECTEDVALUE ( 'Assess'[C_ID] )
&& ( 'Assess'[Assessment Type] = "New" )
&& ( 'Assess'[Assessment Stage] = "First" )
)
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Portuguêsthanks so much
Hi @Elisa112 ,
Believe that you are missing some parenteses and you have one comma at the end try this changes:
Summary_Table2 =
SUMMARIZECOLUMNS (
"Customer_ID", 'Cust'[C_ID],
"Manager", 'Manager'[M_Name],
"Customer Meeting",
CALCULATE (
MIN ( 'Appointments'[Meeting Date] ),
'Appointments'[Type] = "Engagement"
),
"Assess",
CALCULATE (
MIN ( 'Assess'[Assessment Date] ),
FILTER (
'Assess',
'Assess'[C_ID] = SELECTEDVALUE ( 'Assess'[C_ID] )
&& ( 'Assess'[Assessment Type] = "New" )
&& ( 'Assess'[Assessment Stage] = "First" )
)
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |