The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi guys,
i need help with the below Sumx (Summarize) measure:
Summarize contains: table "sheet4", and 3 columns "Year" , "Period" , "Brand cm" .
Then we SUMX with the column "Brand cm".
The result is OK,
but when i apply a filter with a column that IN NOT part of the 3 columns contained in summarize (Year,Period,Brand cm) , then my measure changes !!! any ideas why ?
Solved! Go to Solution.
Hi @Anonymous
Of course.
SUMMARIZE is calculated in the current filter context.
What are you trying to achieve? Can you provide more details?
@Anonymous
Please try
Measure1 =
SUMX (
CALCULATETABLE (
DISTINCT ( Sheet4 ),
ALLEXCEPT ( Sheet4, Sheet4[Year], Sheet4[Period] )
),
Sheet4[brand_cm]
)
@tamerj1 thank you very much for your reply I really appreciate this!
I have this table:
I want the sum of column "brand cm" to be shown "280" regardless of what customer the user may filter.
So i used the Summarize to group by the unique value per Year,Period and the i summed up.
But when i filter per customer it affects the results..
@Anonymous
Thank you for your repy. But does the expected visual supposed to look like?
I want to see "280" and this measure to be the same regardless any filters (i.e customer) that a user may select
@Anonymous
Please try
Measure1 =
SUMX (
CALCULATETABLE (
DISTINCT ( Sheet4 ),
ALLEXCEPT ( Sheet4, Sheet4[Year], Sheet4[Period] )
),
Sheet4[brand_cm]
)
it works fine ! thank you so much!!!
Hi @Anonymous
Of course.
SUMMARIZE is calculated in the current filter context.
What are you trying to achieve? Can you provide more details?
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |