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
Martine10
Frequent Visitor

Ignore context filter within summarize DAX

 have a calculation where for all years I divide the value of a given year. This needs to be done at a group "sector" level. 

When I put the measure in a visual with the "sectors" in the legend of the visual, the calculation works fine:

Martine10_0-1655902327048.png

 

 

Martine10_1-1655902327052.png

 

 

 

However, now I want a visual with the total, so not showing the values per sector. To do this I thought it would be best to use a summarize function. 

 

However now the problem is that I am not able to get rid of the year context within the summarize function. I tried to use the crossfilter function with setting it to none. So the value is now only shown for the "given year"= 2000 (for 14 sectors):

Martine10_2-1655902326921.png

 

 

Martine10_3-1655902327079.png

 

 

Any help is much appreciated!

Thanks

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Martine10 

 

Can you provide some sample data or simple pbix files? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures.

 

Best Regards,

Community Support Team _Charlotte

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.