Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |