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 September 15. Request your voucher.
Hi all,
How can I have the correct total on my table below. I have read several similar questions about it in here, but all of them were solved using either HASONEVALUE or HASONEFILTER, but as you see below, my mesure is created on top of other metrics, and I'm unable to use this functions.
I know measure won't display the sum of the values in the column, but could you please help me with that?
Thank you.
Hi @tamerj1
I'm using two different dimentions: Tenure and Customer Category
How should I use them on the calculation?
Hi @ROG
Please try
Net Churn - 30D% YTD Var =
SUMX (
CROSSJOIN ( VALUES ( 'Table'[Tenure] ), VALUES ( Customer[Category] ) ),
[Net Churn - 30D% YTD] - [Net Churn - 30D% LYTD]
)
Hi @tamerj1 With the measure you provided is giving the not expected total. Even the rows are very different.
Of these are the only columns in this table visual then it should work. Can you please share w screenshot of the dax code you've used?
Of course @tamerj1
Please try
Net Churn - 30D% YTD Var_new =
SUMX (
CROSSJOIN (
SUMMARIZE (
'Tenure Band',
'Tenure Band'[Tenure Band],
'Tenure Band'[Tenure Flag],
'Tenure Band'[Tenure FlagB]
),
VALUES ( 'Customer Category'[Customer Category Name] )
),
[Net Churn - 30D% YTD] - [Net Churn - 30D% LYTD]
)
otherwise please share a screenshot of your data model with the relationships
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |