March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hey Tech buddies,
I'm reading the-definitive-guide-to-dax and in Chapter 3 FIGURE 3-15 has a pivot table.
Which shows 1 for column "Values Products" with "Sales Amount" of $16.90.
The Reason It states , is there are sales for product for which there's no data in Product table.
But If i go to database and execute below query there's no rows like same.
USE ContosoRetailDW
GO
SELECT * FROM [DaxBook].[Sales] a
WHERE NOT EXISTS (SELECT 1 FROM [DaxBook].[Product] b WHERE a.ProductKey=b.ProductKey)
Moreover i tried to rollup in database but there i got only three rows for class with their aggregrate Sales Amount
SELECT b.Class, SUM(a.Quantity*a.[Unit Price]) AS SalesAmount FROM [DaxBook].[Sales] a
right JOIN DaxBook.Product b
ON a.ProductKey=b.ProductKey
GROUP BY b.Class
Please suggest.
Database and PowerBI Model for same
Thanks,
Harry
Hi @HarsimPWRBI,
It would be better that you could provide some sample data to describe the problem. How to Get Your Question Answered Quickly
Besides, for any errata you find, you could contact the related team via the "report it to us" link.
Best regards,
Yuliana Gu
Hi @v-yulgu-msft,
As recommended I've added Database and PowerBI model for my query related to same.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |