Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I would like to create a measure where the totals is the sum of each row instead the calculation.
I managed to get that by using following formula:
Vol_impact_all =
VAR SelectedColumns = CONCATENATEX(Parameter, Parameter[Parameter Fields], ", ")
VAR ExpresionDAX =
"SUMX(ADDCOLUMNS(SUMMARIZE(Table1, " & SelectedColumns & "), ""This"", [Vol_impact]" & "), [This])"
RETURN
ExpresionDAX
@fonsogijon , I doubt that in power bi as of now(Dynamic table based on selection).
You have to write a switch and combination
But I have around 30 columns available for users and they can select any number, so the combination is huge.
However, it looks like this variable is working fine, adding columns when users add columns in the slicer:
VAR SelectedColumns = CONCATENATEX(Parameter, Parameter[Parameter Fields], ", ")
And also the summarize formula returned is also dynamically changing base on the selection. The problem is that I have just the text, but seems to be fine, if only I could somehow evaluate that text...
Any way..Thank you!! @amitchandak
Hi, I am having the same issue :S did you find the way to solve it?
No, I just defined the lowest level possible that is also the default one and then it aggregates up depending on the selection
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |