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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.