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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
i have a matrix visual based on 2 tables(rows and columns). The values are calculated with a measure. The measure compares a value, if the value is ther it enters acalculated value if not then 0.
But even if i use the hasonefilter and sumx approach it doenst count correct. It doesnt count only values that are existing.
Travelcost = var daycost =if([traveldayinc]+[traveldayrft]>0,Values(Travelfactor[cost])*Values(Travelfactor[faktor]),"0")
return
if(HASONEFILTER('Calendar'[Date]),daycost,sumx('Calendar',daycost))
How to get only values from the visual as total?
Thanks & Regards
Hi @Anonymous ,
Have you tried @amitchandak 's suggestion?Is your issue solved now?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi,
i tried the approach and played with it around, But always im getting wrong totals.
It seems that the Filter of the Visual is ignored.
Regards
Hi @Anonymous ,
Could you pls upload your .pbix file to onedrive business and share the link with us?
Remember to remove the confidential information.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi,
the PBIX is to big and has many other things in it.
I also have another open topic zo solve this issue through a virtual table, but this is also not solved.
An example Data model can be simple like that:
The measure would be look like:
Hi,
i have created an example PBIX.
How can i upload it?
(The file type (.pbix) is not supported.)
Regards
Hi @Anonymous ,
Pls upload your sample .pbix file to onedrive business and share the link with us.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi, thats not possible. External SHaring is disabled in our company.
Any other ways to upload the file?
Regards
Hi @Anonymous ,
Copy the data and paste it in an editable format.Remember to remove the confidential information.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
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!