Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I would like to ask what I am doing wrong that I always getting same result even I made filtering in measure.
Here is a measure:
bendra_suma_ar_objektine5 =
SWITCH (
TRUE (),
MAX(_op_kiekis[Objektinė apskaita])="Taip",[Bendra kaina_new],
[Bendra kaina_new_be_obj]
)I am getting same total but somes rows values are different why?
I am marked rows where is a difference even the total sum is same between first and third columns.
Hi @Analitika
You can first refer to this doc: Understanding how Power BI calculates totals.
"For total and subtotal rows, Power BI evaluates the measure over all rows in the underlying data – it isn't just a simple addition of the values in the visible or displayed rows. This means you can end up with different values in the total row than you might expect."
If your want to sum up all displayed values on the total row, you can use the following measure
new measure = SUMX ( VALUES ( '_op_kiekis'[zur_text] ), [bendra_suma_ar_objektine5] )
You can refer to more examples in this article: https://www.accelebrate.com/library/how-to-articles/power-bi-custom-totals
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!