cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PBIFCSuperUser
Frequent Visitor

Help required for Dynamic calculated column in created table that has no relationships

Hi All,

 

I have pieced together a sample dataset to showcase the issue I am having. Hoping someone is able to help!

 

Here is the Relationships of the data set:

relationships1.JPGRelationships

I have created a table by using the "Enter Data" option and 3 types of name scenarios for the rows:

I have also added a calculated column called column.

relationships2.JPG

What I want is to set the Date Dim as a date filter and let it dynamically change the calculated column value based on the date selected.

I also would like the caluclated column to go something like: if col 1 ="alex" then measure x, if col1 = "Rob", then mesure y, for all else measure z.

 

If you see below, this is not changing unlike the other measures that are added from  the number of sales and Sales tables.

relationships3.gif

 

Any help would be much appreciated! 

Please let me know if you require any other information!

 

PS: In my actual data set, the measures I will need include the DAX element "USE RELATIONSHIPS". Not sure if this is helpful to understand or will change the way you apply a solution. Just thought I would advise since I haven't in my simple example.

 

 

 

Thanks.

PBIFCSU

 

 

1 REPLY 1
Microsoft v-huizhn-msft
Microsoft

Re: Help required for Dynamic calculated column in created table that has no relationships

Hi @PBIFCSuperUser,

The Alex, bob values come from the name field in ‘number of Sales’ table, right? If it is, as I tested, when the slicer changed, the corresponding is filtered. 

 

If Alex, bob and other values come from different table. Could you please share your .pbix file for further analysis?

Best Regards,
Angelia

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors