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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Getting (Blank) for calculated measure

Hello,

 

I have the following measure that is reporting (Blank) if I do not have 1 manufacturer selected. MFG PARTNER COUNT is a calcuated column while Manufacturer is a column in the data source table.

 

Measure = IF (
     HASONEVALUE('CATEGORY ACCESS'[MANUFACTURER]),
    COUNTX(ALLSELECTED('CATEGORY ACCESS'[MANUFACTURER]),
    CALCULATE((SUM('CATEGORY ACCESS'[MFG PARTNER COUNT])
    ))))
 
Any ideas?
 
@Amit Chandak ?
2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
beeW
Regular Visitor

@Anonymous  I might need more context to help.  Some ideas:

  1. Do you have anything set on page filters that maybe impacting your expected result ? 
  2. To debug further does separating out the CALCULATE((SUM('CATEGORY ACCESS'[MFG PARTNER COUNT]) into its own measure give you the result expected to try to pin-point why not working how you expect ?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.