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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Remove values from totals

Hi. I am trying to create a measure to exclude all values less than 5. 

Would this be possible?

 

 

I tried to make this measure: Measure= if(COUNT('Antal'[Registrerings Dato])<5;"<5";format(count('Antal'[Registrerings Dato]);"")).

 

This made all values less than 5 be "<5" but it does not change the totals.

 

 

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

What's the expected result?

1. If you want to exclude these items that have value "<5", you can try a measure like this:

Measure =
SUMX (
    'Antal';
    IF ( 'Antal'[Registrerings Dato] < 5; 0; 'Antal'[Registrerings Dato] )
        < 5
)

2. If you want to exclude these items that have presence "<5", you can use your formula and filter them out in the visual level filter.

Or, you can share your data model and the expected result.

Remove_values_from_totals

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

 Hi again @v-jiascu-msft

 

I can't get the measure to work.

 

The idea is to exclude items that have value "<5".

Registration dato is actually registration date, and it seems like the measure won't work.

 

 

Should I do a count initially? or perhaps do something differently? For instance, looking at this table. I won't to format the numbers to be <100 and not be accounted for in the totals. Is that possible?

Fr.PNG

 

 

 

Hi @Anonymous,

 

Could you please share a sample and the expected result?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello.

 

I am trying to create a measure to remove numbers less than 5 from totals.

I created this measure: Measure1= if(COUNT('Antal'[Registrerings Dato])<5;"<5";format(count('Antal'[Registrerings Dato]);""))

 

This measure changes all values less than 5 to "<5" but you can still calculate the totals. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.