Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I need to create the following table:
Date \ ID \ Daily Target
01/01/22 \ ID1 \ 3658
01/01/22 \ ID2 \ 8459
13/03/22 \ ID1 \3000
I already have a date table that I create with DAX and a query that results in a table with Daily Target for each month like this:
ID \ Month-year \ Daily Target
ID1 \ January-2022 \ 3658
ID2 \ January-2022 \ 8459
ID1 \ March-2022 \ 3000
Any ideas?
Solved! Go to Solution.
I finally find a solution:
Add a new column:
Table.AddColumn(#"Columnas con nombre cambiado2", "Personalizado", each List.Dates([Month], Date.Day(Date.EndOfMonth([Month])), #duration(1, 0, 0, 0)))
Then Expand:
I finally find a solution:
Add a new column:
Table.AddColumn(#"Columnas con nombre cambiado2", "Personalizado", each List.Dates([Month], Date.Day(Date.EndOfMonth([Month])), #duration(1, 0, 0, 0)))
Then Expand:
@Anonymous
you can try this to create the month-year column
Column = FORMAT('Table'[Date],"mmmm")&"-"&year('Table'[Date])
Proud to be a Super User!
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 |
|---|---|
| 55 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |