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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jvillela
Regular Visitor

Help with column calculation

Dear, good afternoon. I have a table with a lot of data, including those in this image: https://ibb.co/ctsqQhL The "date to fix" column is fixed and the columns to the right of it are calculated based on that fixed date. What I need is for the user who sees the report (which I already have done) to choose a date to "insert" it into the "date to fix" column and make me the respective calculations of the columns on the right. Do you understand? I thought I could do it with parameters, but it doesn't detect the values to create the desired date. From now on thank you very much and greetings from Chile.
4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @jvillela ,

 

You may create a column like DAX below, assuming the <Date1> is referred to the Date value you will set for per user.

 

date to fix =SWITCH( [User Name], "User1", <Date1>, "User2", <Date2>, "User3", <Date3>,,,)

 

If I misunderstood it, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello.

So in this link the .pbix file and two images where I explain what I need to do

https://1drv.ms/u/s!AsSjGvHRuwixgop7ojxMK025cLuLAA?e=FhNQGO

Thanks a lot.

@v-xicai @amitchandak please check message above.

Thank you!

amitchandak
Super User
Super User

@jvillela ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?
Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

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.