Forum Discussion
DAX Measure
Hi there,
I have a table 1 with a year column from 2020 to 2050, it also include existing ratio's for column A, B and C and the ratio of the three add up to 1 on each year.
I created two what if parameters for target year and the target year's ratio. For example, I want in 2030, the target ratio for feild C is 50%, based on this target, the new ratio for each year of feild C has been calculated by a measure (e.g. new traget ratio measure). The target ratio measure for each year is the following pic.
I have table 2 includes years only for 5 year increments from 2020, 2025 until 2050. The table 2 includes other field as well. I want to apply the target ratio measure to a field in table 2 based on year. For example, I want the target ratio for 2030 is 0.5 and 2050 is 0.78. I know the measure is not a column and it cannot use the lookupvalue in DAX. At the moment when I check what is the target ratio for each year in table 2, is the following pic.
I want to apply the following tables target ratio to table 2, how can I do that? AllisonKennedy amitchandak AlexisOlson Greg_Deckler
Thanks in advance.
Weijia
4 Replies
- lbendlinSuper User
Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.
- AnonymousNot applicable
Hi lbendlin,
Thanks for your reply. I am new to the Power BI community and hopefully the like below can be accessed.
Kind regards,
Weijia
- lbendlinSuper User
In your data model
you are missing a connection between "cal vehkm" and your tables influencing the measure. A telltale sign of an incomplete data model is when you see the same number in all rows.