Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hey All;
Curious how I can do this? I have the multi query sum down...
Solved! Go to Solution.
Hi @Gumberculeez ,
than try this.
SELECT
*,
CAST(DispatchDate as Date) AS DispatchDate_New
FROM _custom_eviews.RTPowerBI (NOLOCK)
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Hi @Gumberculeez ,
create a date table
Date =
ADDCOLUMNS (
CALENDARAUTO( );
"Year"; YEAR ( [Date] );
"Month Name"; FORMAT ( [Date]; "mmmm" );
"Month Number"; MONTH ( [Date] );
"Weekday"; FORMAT ( [Date]; "dddd" );
"Weekday number"; WEEKDAY( [Date] );
"Quarter"; "Q" & TRUNC ( ( MONTH ( [Date] ) - 1 ) / 3 ) + 1;
"Day of Month"; Day([Date])
)
add the relationship to the date table
Mileage plus Mileage =
CALCULATE(
SUM('SCInvLabor'[Mileage]) + SUM('SCOpenLabor'[Mileage]);
'Date'[Date] = TODAY())
If I answer you question, please mark my post as solution, this will also help others.
Please give Kudos for support.
hmm... thanks for the assist here,
Actually getting a syntax error with that : /
Thanks... that worked...
however, getting the same syntax error with the relationship... changed to a "," with no results:
the CALCULATE is missing...
Mileage plus Mileage = CALCULATE( SUM('SCInvLabor'[Mileage]) + SUM('SCOpenLabor'[Mileage]); 'Date'[Date] = TODAY())
If I answer you question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |