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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jibran_wani
Regular Visitor

Need help in All Function

Hi All,

 

I am getting blank dimension value automatically when i use ALL function. Can anyone please help?
I do not want this blank getting assigned in 'Total Sales'.

Total Sales= CALCULATE([Net Sales],ALL('Pro'))

'Division' is coming from 'Pro' . Note that I want to use an attribute parameter in this table with all columns coming from 'Pro' like Division, Setup, etc.

jibran_wani_2-1733918317092.png


Can anyone please help?

Desired Result -

jibran_wani_1-1733918282935.png


Thank you

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jibran_wani ,

 

Based on the information you provided, these table columns must not be from the same table. Refer to below table relationship and formula:

Total Sales = CALCULATE(SUM(Pro[Net Sales]), ALL('Pro'))

vkongfanfmsft_2-1733973456402.png

 

vkongfanfmsft_0-1733973385467.png

vkongfanfmsft_1-1733973428799.png

 

Best Regards,
Adamk Kong

 

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

3 REPLIES 3
govind_021
Super User
Super User

Hey ,
select your visual and open filter pane 
go to filter on this visual and for Division , select basic filtering and selcet all division except "Blank"
Thank You

 

Anonymous
Not applicable

Hi @jibran_wani ,

 

Based on the information you provided, these table columns must not be from the same table. Refer to below table relationship and formula:

Total Sales = CALCULATE(SUM(Pro[Net Sales]), ALL('Pro'))

vkongfanfmsft_2-1733973456402.png

 

vkongfanfmsft_0-1733973385467.png

vkongfanfmsft_1-1733973428799.png

 

Best Regards,
Adamk Kong

 

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

 

 

ThxAlot
Super User
Super User

Typical result of Referential Integrity Violation of your data model, nothing to do with ALL(). Google that term if you want to learn a bit more.



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.