Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi All,
I am new to DAX and I have a table with losts of different surveys and peoples answers to the surveys.
1) I need to know if a customer has completed all of the questions (in this example 8 questions)
2) If all questions are answered mark the survey as complete.
3) count that as one completed survey.
4) If the survey has one question answered mark as part completed, and count as one servey (to count the servey I would just count (distinct) customerID)
Could anyone give me some guidance on how I would acheive this please?
Many thanks,
Sean.
Solved! Go to Solution.
The DAX will be much easier if you break your one big table down into a star schema (I can help you break it down if you need)
My next step was to add a calculated column to the Client Survey records to determine if an individual question had been answered.
Here's the DAX for that column:
Help when you know. Ask when you don't!
The DAX will be much easier if you break your one big table down into a star schema (I can help you break it down if you need)
My next step was to add a calculated column to the Client Survey records to determine if an individual question had been answered.
Here's the DAX for that column:
Help when you know. Ask when you don't!
Thank you for the asnwer, I will try and understand it in the morning.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
41 | |
29 | |
23 | |
22 | |
22 |