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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Do5779
Helper II
Helper II

Create table by intevall and stepsize in dax

Hi Experts,

 

for dates there is the dax function called calendar ("Start Date", "End Date") to get a table from startdate to enddate.
Now I am searching for a similar solution/ dax command to get a table easily of a intervall of values with the ability to select the stepsize,

For Example a table from 1 to 5 with a stepsize of 0.1 to get the following one:

 

1.0
1.1
1.2
1.3
...
4.8
4.9
5.0

 

Thank you very much!

 

 

1 ACCEPTED SOLUTION
DimaMD
Solution Sage
Solution Sage

Hi @Do5779 You need to create a new parameter with a Decimal range, Or use the "GENERATESERIES" function
I have attached the file for your understanding


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

2 REPLIES 2
Do5779
Helper II
Helper II

@DimaMD Great🤗. Thanks a lot!

I haven't found that dax function. So for all the others : GENERATESERIES-Funktion - DAX | Microsoft Learn

DimaMD
Solution Sage
Solution Sage

Hi @Do5779 You need to create a new parameter with a Decimal range, Or use the "GENERATESERIES" function
I have attached the file for your understanding


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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