Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a table looking like this (coming from excel) :
Country | Region |
France | Europe |
Germany | Europe |
Japan | Asia |
Canada | America |
I want to dublicate each row of the table so I get something like this :
Country | Region | Brand |
France | Europe | A |
Germany | Europe | A |
Japan | Asia | A |
Canada | America | A |
France | Europe | B |
Germany | Europe | B |
Japan | Asia | B |
Canada | America | B |
France | Europe | C |
Germany | Europe | C |
Japan | Asia | C |
Canada | America | C |
Is there a way to do that ?
Solved! Go to Solution.
@Arkhos94 , Assume you have table that have brand (A,b,C)
you can create a new table
crossjoin(Table1, brand)
also check
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
@Arkhos94 - Create one table for Brand with the help of "Enter Data" option and create structure like this:
Then Create a new table with below DAX:
New Table = CROSSJOIN(CountryTable, Brand)
thank you both for the help
@Arkhos94 - Create one table for Brand with the help of "Enter Data" option and create structure like this:
Then Create a new table with below DAX:
New Table = CROSSJOIN(CountryTable, Brand)
@Arkhos94 , Assume you have table that have brand (A,b,C)
you can create a new table
crossjoin(Table1, brand)
also check
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
89 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |