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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
ksubi
Regular Visitor

Unable update visualisation affected by a Measure

I got two tables: Product Arrival Date and Launch Date (see attached files).

 

Link to Product Arrival Data. 

Link to Launch Date  

Link to Power BI file 

 

If 'Product Arrival Date'[Arrival Date] <= [Adjusted Launch Date]  then the output should be "On Track". Otherwise the output is "Past Launch Date".

 

Adjusted Launch Date is a measure defined as follows:

Adjusted Launch Date = MAX('Launch Date'[Launch Date]) + 'Date Offset'[Date Offset Value]

 

where 'Date Offset'[Date Offset Value] is parameter whose value is determined by slider.

 

Problem: As per the pie chart image below we can see that 'Product Arrival Date'[Arrival Date] > [Adjusted Launch Date]. Therefore the data in the pie chart should be labelled as "Past Launch Date". But it labelled by Power BI as "On Track"

 

What I have tried: I have know calculated columns are not dynamic however tried see if refresh could update the visuals when I set the 'Date Offset'[Date Offset Value] to the value I am interested in. 

 

Screenshot 2025-07-02 165004.png

The relationships of the tables is shown below:
Screenshot 2025-07-02 170518.png


 

 

 

1 ACCEPTED SOLUTION
v-pnaroju-msft
Community Support
Community Support

Thankyou, @burakkaragoz@danextian for your response.

Hi ksubi,

We appreciate your question on the Microsoft Fabric Community Forum.

As I understand, the issue happens because calculated columns are static. They only calculate when the data is refreshed and do not change when you use slicers or parameters like the Date Offset slider. That is why the visuals did not update dynamically when you moved the slider.

To fix this, we used a measure instead of a calculated column. The measure calculates the status dynamically. We also added the "Status per Adjusted Launch Date" measure in a Table visual. This way, the results update correctly when you move the slider.

Please find the attached screenshot and sample pbix file for your reference:

vpnarojumsft_0-1751556178571.png

If you find our answer helpful, please mark it as the accepted solution. This will help other community members who have similar questions.

If you have more questions, feel free to reach out to the Microsoft Fabric community.

Thank you.

View solution in original post

7 REPLIES 7
v-pnaroju-msft
Community Support
Community Support

Hi ksubi,

We are checking in to know if the information we provided helped in resolving your issue.
If you have any further questions, please do not hesitate to contact the Microsoft Fabric community.

Thank you.

Natalie_iTalent
Administrator
Administrator

Dear community members,

A response that was unrelated to the original topic has been removed from this thread.  We wanted to add this clarification as there are additional comments related to that comment shown.

 

Please feel free to reach out to me if you have any questions.  

 

Best,

Natalie H.

Community Manager

v-pnaroju-msft
Community Support
Community Support

Thankyou, @burakkaragoz@danextian for your response.

Hi ksubi,

We appreciate your question on the Microsoft Fabric Community Forum.

As I understand, the issue happens because calculated columns are static. They only calculate when the data is refreshed and do not change when you use slicers or parameters like the Date Offset slider. That is why the visuals did not update dynamically when you moved the slider.

To fix this, we used a measure instead of a calculated column. The measure calculates the status dynamically. We also added the "Status per Adjusted Launch Date" measure in a Table visual. This way, the results update correctly when you move the slider.

Please find the attached screenshot and sample pbix file for your reference:

vpnarojumsft_0-1751556178571.png

If you find our answer helpful, please mark it as the accepted solution. This will help other community members who have similar questions.

If you have more questions, feel free to reach out to the Microsoft Fabric community.

Thank you.

danextian
Super User
Super User

Your sample data is confusing. Why the need to create a relationship between Launch Date and Arrival Date columns when they don't have a match?  - launch dates are all july while arrival dates are june.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
danextian
Super User
Super User

Hi @ksubi  

Did you mention databricks in your initial post?

 

@burakkaragoz 

I don’t see any mention of Databricks in the post, so I’m not sure why it was included in your reply or why OP would need to re-authenticate to it.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
ksubi
Regular Visitor

Hi @burakkaragoz 

The visualisations were never working. I am only using Power BI and am not using any other tool such as Databricks.

I have not made any changes to the tables. I have also tried refreshing the data but that has not work.

 

 

  

@ksubi ,

 

Thanks for the clarification — that helps a lot.

Since you're only using Power BI and the visuals never worked from the start, the issue is likely related to how the measure is being evaluated in the visual context.

Measures like your Adjusted Launch Date are not evaluated row by row — they’re calculated once per filter context (like per slice in a pie chart). So when you compare a column (Arrival Date) to a measure (Adjusted Launch Date), Power BI doesn’t do a row-level comparison. That’s why the logic seems off.

To fix this, you might want to move the logic into a calculated column instead. That way, the comparison happens per row and reflects the slicer value correctly.

Here’s a rough idea:

Adjusted Launch Date Column = 
CALCULATE(
    MAX('Launch Date'[Launch Date]) + SELECTEDVALUE('Date Offset'[Date Offset Value]),
    ALLEXCEPT('Launch Date', 'Launch Date'[ProductID]) // or your key column
)

Status = 
IF(
    'Product Arrival Date'[Arrival Date] <= 'Product Arrival Date'[Adjusted Launch Date Column],
    "On Track",
    "Past Launch Date"
)

 


This response was supported by AI for translation and text editing.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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