cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Sales amount measure not displaying for all the rows

Hi ,

I want to see the VanArsdel Sales in all the rows. But I am seeing the value only against "VanArsdel". Please see the below image. And the DAX I have used, 

VanArsdel Sales =
CALCULATE(
Sales[Sales Amount],
FILTER(
ALL(Products[Manufacturer]),
Products[Manufacturer]="VanArsdel"
))
 
 

dax.JPG

1 ACCEPTED SOLUTION
Super User II
Super User II

@RADHIKA_3022 Is that "Sales Amount" a column and not a measure? if yes then that is cross filtering your measures. Use this instead:

 

VanArsdel Sales =
CALCULATE (
    Sales[Sales Amount],
    FILTER (
        ALL ( Products[Manufacturer], Products[Sales Amount] ),
        Products[Manufacturer] = "VanArsdel"
    )
)

 

Or maybe the Manufacturer column isn't coming from Products table?


Thank you,
Antriksh Sharma

View solution in original post

2 REPLIES 2
Super User II
Super User II

@RADHIKA_3022 Is that "Sales Amount" a column and not a measure? if yes then that is cross filtering your measures. Use this instead:

 

VanArsdel Sales =
CALCULATE (
    Sales[Sales Amount],
    FILTER (
        ALL ( Products[Manufacturer], Products[Sales Amount] ),
        Products[Manufacturer] = "VanArsdel"
    )
)

 

Or maybe the Manufacturer column isn't coming from Products table?


Thank you,
Antriksh Sharma

View solution in original post

Yes you are right,  the Manufacturer column isn't coming from Products table, it's coming from Manufacturer table !!

Thanks a lot for responding Antriksh !

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.