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,
Here is my dataset representing subset of actual data
Opp ID | Hardware Value | Order Date |
OPE1 | 10 | 1/1/2020 |
OPE1 | 30 | 1/2/2020 |
OPE1 | 40 | 1/3/2020 |
OPE1 | 20 | 1/4/2020 |
OPE2 | 10 | 1/5/2020 |
OPE2 | 10 | 1/5/2020 |
I want to group the Order Values by Opportunity ID which is straight forward in Query Editor
However, if an opportunity has multiple dates then my ouput should show "Multiple dates" .
If an opportunity has only 1 date, then just mention the date.
So my output should look like this:
Opp ID | Hardware Value | Order Date |
OPE1 | 100 | Multiple Dates |
OPE2 | 20 | 1/5/2020 |
How can i do this in M code?
Solved! Go to Solution.
pls see the attachment below. Hope this is helpful
Proud to be a Super User!
pls see the attachment below. Hope this is helpful
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
48 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |