This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
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
Hi Users
I'm wondering if it is better to create a complex measure or to create some tables to divide a complex problem in understandable parts ?
Is someone can share his experience.
I tried to do some complex dax formula but as i m not a pro, understanding each step with a summarize table seems to me better...
thanks
@phaum1967 wrote:
Hi Users
I'm wondering if it is better to create a complex measure or to create some tables to divide a complex problem in understandable parts ?
Is someone can share his experience.
I tried to do some complex dax formula but as i m not a pro, understanding each step with a summarize table seems to me better...
thanks
For complex dax formula, you could try to use VAR. eg in this thread
Top3ofAnySelectedCountry =
VAR TBL =
SUMMARIZE ( Data, Data[Country], "sumtotal", SUM ( Data[Amount] ) )
VAR RNK_TBL =
ADDCOLUMNS ( TBL, "RANK", RANKX ( TBL, [sumtotal],, DESC, DENSE ) )
RETURN
SUMX ( FILTER ( RNK_TBL, [RANK] <= 3 ), [sumtotal] )
I'd say it depends on the situation, but generally for very complex measures involving summary tables, I'll use DAX Studio to test steps and view the summary tables and make sure everything works the way I expect along the way before completing the measure. I don't like to keep extra tables around in memory if I don't have to. Bogs everything down.
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 |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |