March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello
I am simplify my example to help you to understand my question
So let say I have in my table 3 columns
Example
Date | Hour | Amount |
23-May-21 | 19:47:08 | 50 |
24-May-21 | 18:13:44 | 30 |
27-May-21 | 9:04:58 | 20 |
30-May-21 | 11:14:21 | 50 |
instead of having in my Pivot
I add a colum in power pivot called shift like this
=if(hour>16:00,Date & "A", Date & B)
So my data is like this
Date | Hour | Amount | Shift |
23-May-21 | 19:47:08 | 50 | 5/23/2021B |
24-May-21 | 18:13:44 | 30 | 5/24/2021B |
27-May-21 | 9:04:58 | 20 | 5/27/2021A |
30-May-21 | 11:14:21 | 50 | 5/30/2021A |
I would like to use in my pivot table
But I get error that I can move calculated field there.
What I can do? to be able to do it. what is the correct way.
thanks
Solved! Go to Solution.
I'd expect this to work fine unless you accidentally defined a measure instead of a calculated column for Shift.
Can you share a screenshot of the error you're getting?
I found it
Just add a column and not Calculated column
thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |