Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I try to create a table dynamically because if I create it in advance calculation never ends if I try to analyze a full year
I created a table and a calculated column which works in principle but I try to do it in one step
tab =
ADDCOLUMNS (
FILTER (
DISTINCT (
UNION (
DISTINCT ( Calls[Start Minute] ),
DISTINCT ( Calls[End Minute] )
)
),
// just to decrease amount of data
[Start Minute] >= DATE ( 2022, 12, 01 )
&& [Start Minute] <= DATE ( 2022, 12, 15 )
),
"CustomerA",
CALCULATE (
COUNTROWS ( Calls ),
FILTER (
Calls,
Calls[Start Minute] <= [Start Minute]
&& Calls[End Minute] >= [Start Minute]
&& Calls[Estate] = "DE_customerA"
&& Calls[Status] = "Successful"
)
) + 0
)
If I add the calculated column
Unfortunately I need this for several customers and if I add the columm for each of them my system is not able to process (works if I limit the rows of the calls
I get a different result for CustomerA_OK and CustomerA, seems like the column [Start Minute] doesn't work, but I have no idea who to use the correct value even within CALCULATE
The idea is to create a measure which calculates the maximum for a specific timespan and a specific customer.
any hints would be great
Solved! Go to Solution.
I think I found a solution (but I do not understand the difference)
Assuming the following sample data
| Start Minute | End Minute | Estate | Status |
| 01.12.2022 12:01 | 01.12.2022 12:05 | CustomerA | Successful |
| 01.12.2022 12:02 | 01.12.2022 12:05 | CustomerB | Successful |
| 01.12.2022 12:03 | 01.12.2022 12:07 | CustomerA | Successful |
| 01.12.2022 12:03 | 01.12.2022 12:03 | CustomerA | Failed |
| 01.12.2022 12:03 | 01.12.2022 12:04 | CustomerB | Failed |
| 01.12.2022 12:03 | 01.12.2022 12:09 | CustomerB | Successful |
| 01.12.2022 12:05 | 01.12.2022 12:06 | CustomerB | Successful |
| 01.12.2022 12:06 | 01.12.2022 12:09 | CustomerA | Successful |
with
I think I found a solution (but I do not understand the difference)
Assuming the following sample data
| Start Minute | End Minute | Estate | Status |
| 01.12.2022 12:01 | 01.12.2022 12:05 | CustomerA | Successful |
| 01.12.2022 12:02 | 01.12.2022 12:05 | CustomerB | Successful |
| 01.12.2022 12:03 | 01.12.2022 12:07 | CustomerA | Successful |
| 01.12.2022 12:03 | 01.12.2022 12:03 | CustomerA | Failed |
| 01.12.2022 12:03 | 01.12.2022 12:04 | CustomerB | Failed |
| 01.12.2022 12:03 | 01.12.2022 12:09 | CustomerB | Successful |
| 01.12.2022 12:05 | 01.12.2022 12:06 | CustomerB | Successful |
| 01.12.2022 12:06 | 01.12.2022 12:09 | CustomerA | Successful |
with
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 7 | |
| 6 |