Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 evansabres
		
			evansabres
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I have an expression
=SUM({$<promoCDE={"ADULT"},}>}[Net Sold Qty]) * [Ticket Base Price]
I do not get an error message when i enter, however in the table, the result is '-'.
The expected result would be a number.
Do I have the expression formatted incorrectly?
 krishnacbe
		
			krishnacbe
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		What is the Dimension you have used? Actually the first part of your expression result will be one value and Ticket Base price has many values that is the reason you are not getting the result.
Share some sample data with all dimensions you use and expected Output
 its_anandrjs
		
			its_anandrjs
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Try this
=SUM( { $<promoCDE= {'ADULT'} } >} [Net Sold Qty] ) * [Ticket Base Price]
 krishnacbe
		
			krishnacbe
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Try to remove the comma highlighted below and check
=SUM({$<promoCDE={"ADULT"},}>}[Net Sold Qty]) * [Ticket Base Price]
 evansabres
		
			evansabres
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		The expression dialogue box gives an error message, 'Error in set modifier expression'
 evansabres
		
			evansabres
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I unfortunately get a result of '-' in the table when I do this
 krishnacbe
		
			krishnacbe
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Try this
=SUM({$<promoCDE={"ADULT"}>}[Net Sold Qty]) * [Ticket Base Price]
 evansabres
		
			evansabres
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I unfortunately get a result of '-' in the table when I do this
 krishnacbe
		
			krishnacbe
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can you share some sample data or Dashboard to fix the Expression
 its_anandrjs
		
			its_anandrjs
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Ohh this is right
=SUM( { $<promoCDE= {'ADULT'} >} [Net Sold Qty] ) * [Ticket Base Price]
 evansabres
		
			evansabres
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		SUM({$<promoCDE={"ADULT"},}>}[Net Sold Qty]) * [Ticket Base Price]
promoCDE = ADULT, NET SOLD QTY is a numeric field, such as 2, where as [Ticket Base Price] is a monetary filed, formatted such as 0.00
