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.
Hello looking for some help I have created to different summarized dax data table and now I would like to combine those to summarized table together if possible.
Table 1 "Monthly Sales"
Has Columns: Sales Rep, Month and Year, and Monthly Sales
Table 2 "Monthly Sales Budget"
Has Columns: Sales Rep, Month and Year and Monthly Sales Budget
What I would like to do is create another new table that puts the Monthly sales next to the Monthly Sales budget.
Please Help.
You could first create a CROSSJOIN of both tables, something like this.
CJ Dates and Customers =
VAR _Dates =
SUMMARIZECOLUMNS ( Dates[Calendar Year], Dates[Month] )
VAR _Customers =
SUMMARIZECOLUMNS ( Customer[Gender], Customer[Education] )
VAR _DatesAndCustomers =
CROSSJOIN ( _Dates, _Customers )
VAR Result =
FILTER (
ADDCOLUMNS (
_DatesAndCustomers,
"Sales", [Total Sales],
"Profits", [Total Profit]
),
NOT ISBLANK ( [Sales] ) || NOT ISBLANK ( [Profits] )
)
RETURN
Result
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 |
---|---|
49 | |
27 | |
20 | |
15 | |
12 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |