cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cosminc Member
Member

calculated table - need to add a column with 4 items => table calculated X 4 (DAX)

Hi all,

 

any idea how can i transform a calculated table like this:

Table = ALL ( 'Source'[Salesman], 'Source'[Year], 'Source'[Month])
i want to add a column with 4 items, so the result will be the initial table multiplied X4, with that column included
 
Thanks,
Cosmin
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: calculated table - need to add a column with 4 items => table calculated X 4 (DAX)

@cosminc crossjoin will get you there.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos Smiley Happy
Feel free to email me with any of your BI needs.





4 REPLIES 4
Super User
Super User

Re: calculated table - need to add a column with 4 items => table calculated X 4 (DAX)

@cosminc crossjoin will get you there.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos Smiley Happy
Feel free to email me with any of your BI needs.





cosminc Member
Member

Re: calculated table - need to add a column with 4 items => table calculated X 4 (DAX)

Thanks

how can i write the correct syntax to a "table 2" - list of 4 items to create a crossjoin( table1, table 2 - list of 4 items)

Many thanks,

Cosmin

cosminc Member
Member

Re: calculated table - need to add a column with 4 items => table calculated X 4 (DAX)

i made it

I took with ALL(othertable(column))

i can step further,

Thanks

Cosmin

 

Super User
Super User

Re: calculated table - need to add a column with 4 items => table calculated X 4 (DAX)

@cosminc here is something you can do, use function DataTable

 

 DATATABLE( "Item", STRING, { { "A" }, { "B" }, { "C" } } )





Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos Smiley Happy
Feel free to email me with any of your BI needs.





Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 41 members 1,122 guests
Please welcome our newest community members: