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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
OceanExplorer
Helper I
Helper I

How to make a manually entered date field (visual calculation) as a filter in a table visual

Hello, I created a sample report using the data below:
Original Data.png

This is the table visual in the report. Both "Customer Support Activation Date" and "Remaining Months" are created using Visual Calculation. The logic is that a person can manully enter a date value for "Customer Support Activation Date", then "Remaining Months" will automaticall generated based on this formula: 

Remaining Months = DATEDIFF([Customer Support Activation Date], [Customer Support End], MONTH)

Is there a way to allow report users to change the Customer Support Activation Date as how they can do it as a filter? Rather than modifing the code in the formular bar: 
Customer Support Activation Date = DATE(2024, 10, 1) ?

Some limitations: In reality, the report will be built on a shared semantic model, so can't create columns or parameters. We can only create measures and visual calculations.


table visual.png

1 ACCEPTED SOLUTION
Deku
Super User
Super User

This is not supported by visual calculations.

You would need to use a composite model and a date table for the selection


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

5 REPLIES 5
v-sgandrathi
Community Support
Community Support

Hi @OceanExplorer,

 

I wanted to follow up on our previous suggestions regarding the issue. We would love to hear back from you to ensure we can assist you further.

If our response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. Please let us know if there’s anything else we can do to help.

 

Thank you.

Anonymous
Not applicable

Hi @OceanExplorer,

Current power bi does not support to create dynamic calculated column/table based on filter selections. They not works on the same level and you can't use child to effect its parent.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

BTW, power bi also not supports to writeback data to the database. Perhaps you can try to use the power apps visual with external app to submit data, then you can get data from remote data source that you used to store these submitted data.

Power BI & Power Apps: A Guide To Data Write-back & Refresh 

Regards,

Xiaoxin Sheng

Deku
Super User
Super User

As long asnone them them doesn't filter that table then yes you can use that. You can add a slicer and grab it's value, and use it to populate your activation date


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
OceanExplorer
Helper I
Helper I

We have some other date tables in the data model, is it possible to leverage that? 

Deku
Super User
Super User

This is not supported by visual calculations.

You would need to use a composite model and a date table for the selection


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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