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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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