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,
I have a data set similar to the one below. I want to highlight/identify the best result (where answer = 'yes') for each question for each store within a given period. Only one best result should be highlighted given the criteria above so something like the first or last best result would be fine. I have added the intended result in the last column below.
Visit ID | Store ID | Question | Answer | Period | Date | BestRead? |
1 | A | Question 1 | Yes | 1 | 01/01/2017 | 1 |
1 | A | Question 2 | Yes | 1 | 01/01/2017 | 1 |
2 | A | Question 1 | Yes | 1 | 02/01/2017 | 0 |
2 | A | Question 2 | Yes | 1 | 02/01/2017 | 0 |
3 | A | Question 1 | Yes | 2 | 03/05/2017 | 1 |
3 | A | Question 2 | Yes | 2 | 03/05/2017 | 1 |
1 | B | Question 1 | Yes | 1 | 05/01/2017 | 1 |
1 | B | Question 2 | No | 1 | 05/01/2017 | 0 |
2 | B | Question 1 | No | 1 | 10/05/2017 | 0 |
2 | B | Question 2 | Yes | 1 | 10/05/2017 | 1 |
What I have been trying is:
Any help would be appreciated!
Thanks
Hi @hassens,
>>I want to highlight/identify the best result (where answer = 'yes') for each question for each store within a given period.
You can try to use below formula to summary records by "question" and "period".
Table = SUMMARIZE(FILTER(ALL(Sheet1),[Answer]="Yes"),[Store ID],[Question],[Period],"Total Read",SUM(Sheet1[BestRead?]))
I haven't found a way to highlight records which in the table.
Regards,
Xiaoxin Sheng
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 |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |