Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Damian88
Frequent Visitor

Dynamic Data Table to store calculation

Hi,

 

I want to create Dynamic Table that will be a source for Chart (if its possible to create chart without creating seperate table is even better)

 

I need to create chart with info how many unique Customers were wisited X times  (1 time,2 times, 3 Times etc)

It should be possible to filter period or other components

 

I thout that there is option to create supporting dinamic Table that will count number of distinct "Interaction ID" for distinct "customer" as bellow  -there is one customets that have 4 unique Interaction ID (C4) 

 

I was able to create such column in current data table but changing filters does not relaculate results (because they are not related with date) so maybe supportin table will hepl

 

 

case 1.jpg

 

 

I will be werry gratefull for some tips

 

Thnx

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Damian88 ,

 

I suggest you to create a dimcountdate table firstly and then create a count customer measure.

Dynamic Day = 
VAR _SUMMARIZE = SUMMARIZE(ALL('Table'),'Table'[Customer],"CountDate",COUNT('Table'[Date]))
RETURN
GENERATESERIES(1,MAXX(_SUMMARIZE,[CountDate])+1)

Measure:

Count Customer = 
VAR _SUMMARIZE = SUMMARIZE('Table','Table'[Customer],"CountDate",COUNT('Table'[Date]))
return
COUNTAX(FILTER(_SUMMARIZE,[CountDate] = MAX('Dynamic Day'[Count Date])),[Customer]) + 0

Result is as below.

vrzhoumsft_0-1685690213471.png

vrzhoumsft_1-1685690222181.png

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Damian88 ,

 

I suggest you to create a dimcountdate table firstly and then create a count customer measure.

Dynamic Day = 
VAR _SUMMARIZE = SUMMARIZE(ALL('Table'),'Table'[Customer],"CountDate",COUNT('Table'[Date]))
RETURN
GENERATESERIES(1,MAXX(_SUMMARIZE,[CountDate])+1)

Measure:

Count Customer = 
VAR _SUMMARIZE = SUMMARIZE('Table','Table'[Customer],"CountDate",COUNT('Table'[Date]))
return
COUNTAX(FILTER(_SUMMARIZE,[CountDate] = MAX('Dynamic Day'[Count Date])),[Customer]) + 0

Result is as below.

vrzhoumsft_0-1685690213471.png

vrzhoumsft_1-1685690222181.png

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.