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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Get specific value or sum as a single unit

Hello, I wonder how I can extract or get a "sum or sumx of something" to be a fixed number or value. 

I want to do this so I can use that fixed value in other calculations without the value being affected by filters and so on.

 

Example:

I want the sum of my sales for a given period which gives me SUM'Sales'[sales]=1000

 

How do I extract this value of '1000'!? 

In a further calculation I want to calculate "1000+something else" and be able to filter and slice without my 1000 being filtered or affected at all.

 

Thanks/Sebastian

 

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Because you don't want slicer based on other column to filter the value 1000, so you may create a new seperate table using DAX like pattern below:

New Table =
SUMMARIZE ( Sales, "Total Sales", SUM ( Sales[Sales] ) )

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Because you don't want slicer based on other column to filter the value 1000, so you may create a new seperate table using DAX like pattern below:

New Table =
SUMMARIZE ( Sales, "Total Sales", SUM ( Sales[Sales] ) )

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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