Forum Discussion
Multiple Columns Error
- Anonymous2 years ago
Hi Lamarandteddy ,
Thanks for the reply from lbendlin Ashish_Mathur , please allow me to provide another insight.
Please try:
BudgetValuesOver100K = FILTER( SUMMARIZE( FILTER( 'FP&A Metrics'. 'FP&A Metrics'[Exercise Type] = "Budget" ), 'FP&A Metrics'[Month]. "TotalValue", SUM('FP&A Metrics'[Value]) ), [TotalValue] > 10000 )This is the original data table:
This is the data table created by New Table, showing data for months where [TotalValue] > 10000.
The data you provided has only one month and the Month type is not Date, please note this in your original data table.
Please change [TotalValue] > 10000 to [TotalValue] > 444000.
The pbix file is attached.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi,
Share some data to work with and show the expected result.
- Lamarandteddy2 years agoNew Member
I am trying to do perform a tabular funtion, not a scalar function Attached is what I am trying to succesfully perform. The other attached is what I get based on the error I listed..
- lbendlin2 years agoSuper User
There is no such thing as a tabular function in DAX. Your only option would be a calculated table but that is immutable.
Table variables can be used inside a measure but the result must be a scalar.
- Lamarandteddy2 years agoNew Member
Ok, so how would I give an expression which returns all months in 2023 that have a budget value greater than $440K in aggregate form?