Forum Discussion
Duplicating and filtering columns
Use ALL () function to ignore the filter on the base column.
New_Column= ALL( Table1[Column1])
Hope this helps.
Thanks
Raj
Thanks for the reply and help, I appreicaite it! Unfortunately Power BI throws an "A table of multiple values was supplied where a single value was expected." message. Even when I filter for just one value (0,1, 99) before creating the new column.
- Anonymous8 years agoNot applicable
Can you post sample data or sample PBI file with expected outcome.
Thanks
Raj- badgerr118 years agoRegular Visitor
Here's an image, wasn't able to upload a pbix. Thanks
- Anonymous8 years agoNot applicable
Oh, got it . You are doing this in Power Query and i was talking abt DAX. Obviously, if you apply filter in one column the other columns also will have the same value as its simply the copy of the original column.
If you want to have do this only in Power Query - you need to copy the source table and have 3 different sources and apply the filter in each table . So, you will have a Paid Table, Free Table and Neither Table.
If you want to handle this in DAX calculation , then you can use the ALL() and FILTER() & CALCULATE() as needed for your requirements.
Hope this helps.
Thanks
Raj