Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ROG
Responsive Resident
Responsive Resident

Not able to use HASONEVALUE or HASONEFILTER

Hi all, the first measure below is the Churn Rate YTD Diff, but as I want the total on the table to show the total (sum) of the rows, I tried to use the functions HASONEVALUE or HASONEFILTER, but I'm struggling to get this correct.

 

Net Churn - 30D% YTD Diff = [Net Churn - 30D% YTD] - [Net Churn - 30D% LYTD]

 

Net Churn - 30D% YTD Diff = IF(HASONEFILTER('Tenure Band'[Tenure Band], HASONEFILTER('Tenure Band'[Tenure FlagB], HASONEFILTER('Tenure Band'[Tenure Flag],HASONEFILTER('Customer Category'[Customer Category Name],[Net Churn - 30D% YTD Var])))))
 
I need to slice and dice by 4 different fields. (Two different tables - Tenure and Customer Category)
ROG_0-1676302837579.png

Instead of - 0.22, it should show 1.88

 

How can I get this right?

 

Thanks! 

 
1 REPLY 1
amitchandak
Super User
Super User

@ROG , Not very clear. But isinscope can be a better option

 

isinscope

https://youtu.be/cN8AO3_vmlY?t=32880

 

Isfiltered/hasonevalue

https://www.youtube.com/watch?v=cN8AO3_vmlY&t=10110s

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.