Forum Discussion
Anonymous
5 years agoNot applicable
Create a table
Hello everybody, I have a table in Power BI and I have created the following visualization. As you can see there 6893 articles, some of them are only C (Costruction), some of them are only I (Industr...
- Anonymous5 years ago
Hi Anonymous ,
Based on your description, you can create a calculated table as follows.
My test table:
Table =
var x1=SUMMARIZE('Sheet4',Sheet4[cod_art],"count",DISTINCTCOUNT('Sheet4'[Column]))
return
ADDCOLUMNS(x1,"category",IF([count]=2,"Mixt","Only"&" "&LOOKUPVALUE('Sheet4'[Column],Sheet4[cod_art],[cod_art])))Result:
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
iXpert_info
5 years agoHelper II
Hey Anonymous
You can create a calculated column with below formula
Column = IF('Table (4)'[C]=1,IF('Table (4)'[I]=1,"Mixt","C"),"I")
You can create a calculated column with below formula
Column = IF('Table (4)'[C]=1,IF('Table (4)'[I]=1,"Mixt","C"),"I")
Did I answer your question? Please mark this as solution
Best Regards
Jay Patel
iXpert Analytics
Best Regards
Jay Patel
iXpert Analytics