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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Error while creating a measure

Hi,

 

i'm trying to create a measure like below:

 

Variance = CALCULATE(SUM(CashReceiveds[Applied Total])+SUM(CashReceiveds[NoMatchAmount])-SUM(CashReceiveds[Amount]))
 
but its not giving the desired output as some of my numbers are getting added as the first outcome is coming in -ve i.e 
SUM(CashReceiveds[Applied Total])+SUM(CashReceiveds[NoMatchAmount]).
 
Can someone help me regarding this?
 
Desired output = $24 or $-50.
 

Not sure why values are coming in bracket in my visual.

 
Regards,
Himanshu
1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try this:

currency.gif

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

View solution in original post

5 REPLIES 5
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try this:

currency.gif

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

@Anonymous ,

 

Try to create a column using this DAX:

FORMAT('Table'[Column],"$#,###")
 
If this solves your issue, please mark this as a solution.
 
Regards,
Veena Shenolikar

Hi @Anonymous ,

 

I think you are using the Data Type "Currency". In this data type it shows negative values in brackets and positives without them.

 

Regards,

Veena Shenolikar

Anonymous
Not applicable

Yes I'm using the data type as currency only.

 

Is there no possibility that I can have the below output while having data type as currency.

 

Desired output = $24 or $-50.

 

When changing the data type its working fine but i want it to work on currency data type only.

 

Regards,

Himanshu

 

 

Anonymous
Not applicable

For reference: 

 

Himanshu_13_0-1605188846490.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors