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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
b_rice
Regular Visitor

Table Visual Conditional Measure

Hi,

 

Not sure if this is possible with my current data layout, but I am trying to create a conditional measure in a Table Visual that will calculate the balance for 2 types of funds (fixed & variable) in the single "Balance" column based on if there is a value in the "Contract Value" column:

 

b_rice_2-1674661735027.png

 

Calculation conditions/definitions:

  • Variable (no value in "Contract Value" column): [Measure]:"Total Accrued" - [Measure]:"Total Paid"
  • Fixed (value in "Contract Value" column): "Contract Value": $X - [Measure]:"Total Paid"

 

Data sources/relationship:

** Yellow highlighted below = relationship between tables

** "Contract Value" column in Table Visual = 'Agreement-Provision'[Total Amount]

** 'CPConsolidated' is an Excel file; 'Agreement-Provision' is an MS Access DB table 

 

b_rice_3-1674663199075.png

 

 

 

Any help/suggestions on DAX or data layout to achieve this would be appreciated!

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
sandeephijam
Helper I
Helper I

Hi b_rice,

 

Just a suggestion,have you tried calculated Column instead of the Measure.

 

Looking at your condition, I think i will be better to use calculated column instead

View solution in original post

1 REPLY 1
sandeephijam
Helper I
Helper I

Hi b_rice,

 

Just a suggestion,have you tried calculated Column instead of the Measure.

 

Looking at your condition, I think i will be better to use calculated column instead

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.