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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
HayleyG82
New Member

SUM Value needed on a greater than DAX needed for a further calculation

Hi 

 

I am trying to create 2 end values from the below DAX's to calculate as one number, but they are not coming through as values, please can somebody help ?

2025 New business =
SUMX(
    'Measures Table',
    IF([2025 Bookings qty] > [Qty for 2024], [2025 Bookings qty]), 0
)
I am asking this if my 2025 bookings qty is greater than last years sales then give me the booking qty else 0 - it works but doesnt calculate it as a value ?
2025 remaining business =
SUMX(
    'Measures Table',
    IF([2024 remaining sales] >= [Qty for 2024],
  [2024 remaining sales]), 0
)

I am asking this if my 2024 remaining sales qty is greater then my actual 2024 sales then give me the remaining qty else 0 -  again it works but doesnt calculate it as a value ? - my end goal is the two together will calculate my 2025 forecast 

HayleyG82_0-1738240017183.png

 

 

2 REPLIES 2
BeaBF
Super User
Super User

@HayleyG82 Hi! Try with:

 

2025 New business =
SUMX(
'Measures Table',
IF([2025 Bookings qty] > [Qty for 2024], [2025 Bookings qty], 0)
)

 

2025 remaining business =
SUMX(
'Measures Table',
IF([2024 remaining sales] >= [Qty for 2024], [2024 remaining sales], 0)
)

 

2025 Forecast =
[2025 New business] + [2025 remaining business]

 

BBF

Hi Thank you fopr your reply, although this has thrown out my new business qty  and only added zero to the total ?

HayleyG82_0-1738243444392.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.