Forum Discussion
create column with DAX using paramters as identifier for column
Hi,
I think it is not possible in DAX to reference dynamically columns in calculatd tables because they always need to have data copied. I think If you want this you will need to copy all the columns AA, BB, CC and then you can dynamically reference this new calculated table.
Hope it helps!
Hi Savvy,
Thank you for your reply. I was afraid that this would not be possible. But gave me some hope that I can reach my final goal: My goal is, to compare the columns. In the example above there would be TRUE for row 4, 9 and 16 when comparing AA wigh BB. Is it possible to do this comparison e.g. via function EXACT and reference the columns at run time?
Thank you once more for your reply.
Best regards
peroma
- StrategicSavvy2 years ago
Resolver II
Hi PeRoma,
I think with this goal in mind you can use measure with 2 parametes defined in disconnected table.
Here is the screenshot:
Attached pbix:
https://drive.google.com/file/d/1CbcK9erUvMcMJ6jFqvS-6OTR9LdRrTSt/view?usp=sharing
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: www.linkedin.com/in/lukasz-kozdron