Forum Discussion
KGPBI
7 years agoRegular Visitor
Calculate a column with multiple values
From nav i am making a report in Power BI. The nav report i want to recreate has multiplte filters for different columns. Salestype A = Column 1: A,B Column 2 100,200 ...
Stachu
Community Champion
7 years agoCan you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).
| Column1 | Column2 |
| A | 1 |
| B | 2.5 |
also the code you posted is not proper DAX, can you paste the code as is used in the PowerBI?
One option to solve this could be a dictionary table, other would be to hardocde the logic. if it's supposed to be in the calculated column then M (Power Query) may be a better option, but it's impossible to tell without knowing more about your model