Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have this formula and for august it says 12089 in reality i only have 2
If i make a measure for each calculation then put the measure inside it works but i dont want to make measures i want to do everything in this table how?
@eliasayyy That's a really bizarre construct. Can't you just unpivot your 4 columns in Power Query? That would make this super simple. If not, you can do this:
New Table 1 =
VAR __Months =
DISTINCT(
SELECTCOLUMNS(
ADDCOLUMNS(
'Table1',
"Month", FORMAT([Date], "MMMM")
),
"Month",[Month]
)
)
VAR __Fields = { "Pageviews", "Entrances", "Exits", "Bounces" }
VAR __Table = GENERATE( __Months, __Fields )
VAR __Result =
SELECTCOLUMNS(
ADDCOLUMNS(
__Table,
"Total",
SWITCH([Value],
"Pageviews", SUMX(FILTER('Table1', FORMAT([Date], "MMMM") = [Month]),[Pageviews]),
"Entrances", SUMX(FILTER('Table1', FORMAT([Date], "MMMM") = [Month]),[Entrances]),
"Exits", SUMX(FILTER('Table1', FORMAT([Date], "MMMM") = [Month]),[Exits]),
"Bounces", SUMX(FILTER('Table1', FORMAT([Date], "MMMM") = [Month]),[Bounces])
)
),
"Fields",[Value],
"Month",[Month],
"Total",[Total]
)
RETURN
__Result
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |