Forum Discussion
how to create temp table with same sample like table on base
- 6 years ago
Hi LeaRupnik ,
Does that make sense? If so, kindly mark my answer as the solution to close the case please. More people will benefit from here. Thanks in advance.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello.
i woud like to do tempory table in PowerBi. At first i greate tem table
Temp1 = DISTINCT(SELECTCOLUMNS(ORGANIZACIJA;"PARENT_ID";ORGANIZACIJA[PARENT_ID];"ID";ORGANIZACIJA[ID];"i";1))
PROGENOT IN (SELECT DISTINCT PROGENOT FROM DW.PAKIRANO)
Thanks.
LP
LEa
Hi LeaRupnik ,
Sorry for late back. You could use CALCULATETABLE function or FILTER function to add filter conditions like "where" in SQL.
Table 2 = CALCULATETABLE (VALUES('Table'[Country]),'Table'[Product] = "Paseo" )
Reference:
https://www.sqlbi.com/articles/filter-vs-calculatetable-optimization-using-cardinality-estimation/
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.