Generate only a needed number of rows in DAX

PowerDinosaur

New Member
Joined
May 13, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi guys!

We are woking with big documents ( ~ 20 pages), however for a visualization we need to analyze them by sentences. We have a code for break-down, however the first step for that is that we need a calculated table which generates X number of rows. We have performance issues with this because, when we have a document with only 100 sentences, we then only need 100 rows, but if we have a document with 1500 sentences we would need 1500 rows. Could someone help me out how could I make a dynamic Generetaseries code? I thought about something like we should count the number of delimiters in the document (we have delimiters to know when a sentence ends) and then we could use that measure in the second part of the Generateseries code. The problem with this is that I couldn't really found a solution how to integrate this solution.

Thank you for your help in advance!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top