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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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