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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Luiscede12
New Member

Problem including variables in graphs

image.jpg

My data is about the financial statements of some companies, linked by its RIC which is a specefic code for each company and by the date. The thing is that For some variables such as total assets, I calculated the percentils and when I want to compare the percentil 75 for example of total assets of the whole data set with just the total assets of one company, power bi uses the percentile 75 just of that one and not of the entire data because the variables are linked as I previously said. Id like to know if there is a way to make the percentil (the new measure) independent of the company code when doing a chart because if not, I wont be able to compare a single company with the average/percentile.... of the whole data set.

In the image, the percentil 75 is calculated based in the filter I have to put in the RIC (only use company A)

thanks in advance

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

Hi @Luiscede12 ,

 

You want get the whole data when do some filters? You can just add ALL('Table'[Company]) or REMOVERFILTERS('Table'[Company]) like the following expression.

 

all data = CALCULATE(SUM('Table'[Values]),ALL('Table'[Company]))
vchenwuzmsft_0-1653463958192.png

 

Pbix file in the attachment you can refer. If I misunderstood you, please let me know and share your data with table or something could be copied and expect result.
 

Best Regards

Community Support Team _ chenwu zhu

 

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-chenwuz-msft
Community Support
Community Support

Hi @Luiscede12 ,

 

You want get the whole data when do some filters? You can just add ALL('Table'[Company]) or REMOVERFILTERS('Table'[Company]) like the following expression.

 

all data = CALCULATE(SUM('Table'[Values]),ALL('Table'[Company]))
vchenwuzmsft_0-1653463958192.png

 

Pbix file in the attachment you can refer. If I misunderstood you, please let me know and share your data with table or something could be copied and expect result.
 

Best Regards

Community Support Team _ chenwu zhu

 

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

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.