Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have 2 calulated collumn in my Data model, and I want to create a seperate Pivot table in my data model with those 2 column , but as the calculated column is not visible at 'Edit Queries' window, I cannot select them to create Pivot table.
So I decide to create a Pivot table using Dax , So any idea how we can do that? Please share some code to do that.
Solved! Go to Solution.
@Anonymous ,
You may use SELECTCOLUMNS Function (DAX) and UNION Function to add a calculated table.
Why don't you use a Matrix ?
Hi,
I want to create a seperate table in my data model with 2 calculated columns, but not on the visual chart matrix. So please help me how can I do that with the help of DAX.
For this I have created a DAX like below , but I am getting error on this:
Table2 =
var Delivery = CROSSJOIN(ROW("Type","Time To Delivery"), VALUES(Data[Time_To_Delivery]))
var Sent = CROSSJOIN(ROW("Type","Time To Send"), VALUES(Data[Time_To_Send]))
return UNION(Delivery, Sent)
@Anonymous ,
You may use SELECTCOLUMNS Function (DAX) and UNION Function to add a calculated table.
How would i use for measures rather than caculated columns?
@v-chuncz-msft wrote:@Anonymous ,
You may use SELECTCOLUMNS Function (DAX) and UNION Function to add a calculated table.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |