Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello!
The following problem:
I'm trying to compare a larger set (17) ('Vergleich Styp' [22026]) with one number ('voest' [22026]) using this DAX expression (linked with [Stahltypen]).
The first part determine the count of values smaller than 'voest' [22026], and in the second part, determine the count of values greater than 'voest' [22026], in order to calculate the average.
Except for the last line, the rest is NOT correct; the last line is correct.
What is the reason for this, and why are the other values all periodic?
It's also correct that there are no values in 2023 and 2024
Thank you in advance.
Hi @DavidProfi ,
Can you provide some sample data and your desired output? It's hard to tell what the problem is with the DAX alone.
You can try modifying this place first:
DAX is modified as follows:
ALL('Vergleich Styp')
If this is incorrect, please also provide sample data or a pbix file and remember to provide the correct result you want!
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |