Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I'm having difficulties creating a Calculated Column for a scenario: The goal is to create a dax for the result column.
Each platform has atleast 1 Indicator markek as "X". If there are multiple "X"'s, the ID2 is the same for these items.
I want to propagate the indicated ID2 to all results in the same platform. Therefore, all rows in Platform 123 have Result of 531 and all rows in platform 321 have a result of 510.
My current dax is faulty:
CALCULATE(MAX(ID2),
PLATFORM = EARLIER(PLATFORM),
INDICATOR = "X")
This does not propagate the correct result to all rows, only the rows that have an indicator. Any ideas?
Platform | ID2 | Indicator | Result |
123 | 514 | 531 | |
123 | 54 | 531 | |
123 | 531 | X | 531 |
123 | 531 | ||
321 | 15 | 510 | |
321 | 510 | X | 510 |
321 | 510 | X | 510 |
321 | 5 | 510 |
Solved! Go to Solution.
Hi @CarlsBerg999 ,
You can update the formula of your calculated column [Result] as below:
Result =
CALCULATE (
MAX ( 'Table'[ID2] ),
FILTER (
'Table',
'Table'[Platform] = EARLIER ( 'Table'[Platform] )
&& 'Table'[Indicator] = "X"
)
)
If the above one can't help you get the desired result, please provide more sample data(exclude sensitive data) and the correct result with backend logic and special examples. Thank you.
Best Regards
Hi @CarlsBerg999 ,
You can update the formula of your calculated column [Result] as below:
Result =
CALCULATE (
MAX ( 'Table'[ID2] ),
FILTER (
'Table',
'Table'[Platform] = EARLIER ( 'Table'[Platform] )
&& 'Table'[Indicator] = "X"
)
)
If the above one can't help you get the desired result, please provide more sample data(exclude sensitive data) and the correct result with backend logic and special examples. Thank you.
Best Regards
@CarlsBerg999 Try this DAX Column:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
68 | |
53 | |
39 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |