Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
How you guy's find a combined total sales? I find Total sales for each of them but it's customers and drivers separated. how you combine them. adding new column like "Role" using dax( i don't really need extra column)
| Date | CustomerPkId | CustomerName | DriverPkid | DriverName | SaleAmount |
| 24/01/01 | 1001 | Jhon | 2001 | Brain | 1000 |
| 24/01/02 | 1002 | jon | 2002 | Brown | 1250 |
| 24/01/02 | 1003 | jin | 2001 | Brain | 4502 |
| 24/01/03 | 1002 | jon | 2003 | Tom | 12515 |
| 24/01/04 | 1001 | jhon | 2004 | Toms | 1412 |
I wanna look like this after writing DAX :
| Name | Role | Sale |
| Jhon | Customer | 2412 |
| Brain | Driver | 5502 |
Hi @dkbbr ,
Based on the description, @rajendraongole1 the response provides the desired results. It should be helpful to you.
If you have solved the problem, please please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Wisdom Wu
Hi @dkbbr - you can create a new calculated table with combining the sales data for customers and drivers.
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value"?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 6 | |
| 5 |