Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hello!
I would like to add 3 hours on this table. I have this error message when I try to do it. Can someone explain me why and how to fix it?
Thank you very much
Solved! Go to Solution.
Power Query (M) is the language to get and transform your data into your data model.
DAX is the language to operate on data in your data model.
Both are completely different languages.
Basically Power Query comes first and then you can further manipulate your data with DAX.
Of course there are grey areas that can be covered by both.
Anything you do with DAX won't be available for Power Query, so that's why you don't see your table that is created with DAX (if I'm correct).
So for your Calendrier you can only proceed with DAX.
This works for me:
Thank you very much 🙂 The formula works for me too. Now, I will see if it's the solution to my problem!
You are mixing up DAX and Power Query (M).
Do you want to add 3 hours to your Date field?
Is that a date or a datetime field?
Yes, I think. When I go to EDIT QUERY, I don't see this table, I don't know why...
Is a major difference between DAX and Power Query (M)??
Power Query (M) is the language to get and transform your data into your data model.
DAX is the language to operate on data in your data model.
Both are completely different languages.
Basically Power Query comes first and then you can further manipulate your data with DAX.
Of course there are grey areas that can be covered by both.
Anything you do with DAX won't be available for Power Query, so that's why you don't see your table that is created with DAX (if I'm correct).
So for your Calendrier you can only proceed with DAX.
This works for me:
Thank you very much 🙂 The formula works for me too. Now, I will see if it's the solution to my problem!
Hello!
The formula works but it doesn't fix my problem, which is:
When a select a day, it returns me the sales informations of the day after. So, I tried to fix this changing the calendar hour, and put it 3 hours after midnignt, but it doesn't work.
I have these TIME formulas:
Calendrier
= CALENDARAUTO()
Salesday
= CALCULATE(SUM(Calendrier[Is Working Day]);DATESBETWEEN(Calendrier[Date];RELATED('Data Mailing'[Date premiere vente]); Set[datedecredit]))
Is Working Day
= SWITCH(WEEKDAY(Calendrier[Date]);7;0;1;0;1)
I also have a date in a table. In fact, each sale has a row with a date. Is the query, it's a date but without hour.
Can you help me please?? 🙂
P.
No. I don't think I can help you. My DAX knowledge is rather limited.
My suggestion would be to create a new topic (as this one is already marked as answered) and explain what you want to achieve.
I would focus on the phenomenon that you select a day and you get sales informations of the day after.
That is very strange so you should clarify and explain with sharing your code and some example data. In a new topic.
Thank you 🙂
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 34 | |
| 33 | |
| 30 |