The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear Members,
Could you please kindly help to solve the following problem? see the picture
i would like that the sum celds are igual to subtotal of the matrix.
Best regards
Solved! Go to Solution.
Hi @ChiRomeu
please try
Count =
SUMX (
CROSSJOIN (
SUMMARIZE ( Coutry, Country[Continent], Country[City] ),
VALUES ( Company[Company] ),
VALUES ( Products[Product] ),
VALUES ( Services[Service Type] )
),
COUNTROWS ( CALCULATETABLE ( VALUES ( Customers[Customer] ) ) )
)
Hi @ChiRomeu
please try
Count =
SUMX (
CROSSJOIN (
SUMMARIZE ( Coutry, Country[Continent], Country[City] ),
VALUES ( Company[Company] ),
VALUES ( Products[Product] ),
VALUES ( Services[Service Type] )
),
COUNTROWS ( CALCULATETABLE ( VALUES ( Customers[Customer] ) ) )
)
thanks a lot!
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |