Back
Use the following measures:
Forecast Qty:=CALCULATE ( SUM ( SourceTable[Qty] ), SourceTable[Type] = "Forecast" )
Sold Qty:=CALCULATE ( SUM ( SourceTable[Qty] ), SourceTable[Type] = "Sold" )
Sold Qty:=CALCULATE ( SUM ( SourceTable[Qty] ), SourceTable[Type] = "Sold"
)
Sales % Forecast:=DIVIDE ( [Sold Qty], [Forecast Qty], BLANK() )
Sales % Forecast:=DIVIDE ( [Sold Qty], [Forecast Qty], BLANK()
and your following visualization looks like this
Want to learn more about Power BI? Check out today: Power BI course
31k questions
32.8k answers
501 comments
693 users