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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Green_Cloud
Helper I
Helper I

GENERATESERIES DAX function not incrementing accurately

Hello All,

I ran into an issue with GENERATESERIES Dax.

 

I Generate a series like below- 

Adjusted Goal = GENERATESERIES(0, 50000, 1)
 
I want the user put the input value to see the impact of it on overall performance.
 
The issue is when the user put 50000, the value show 48651, when the user put 15000, the value shows 14985
But if the user put 50, 100, the value is OK.
 
Anyone knows what's the solution of it?
1 ACCEPTED SOLUTION
Green_Cloud
Helper I
Helper I

Sorry for not clarifying it well earlier. I actually wanted to use the generateseries dax value in a slicer to use it as an input value. The issue was when I change the slicer it was not incrementing accurately. I got a solution for that. If you use MAX function in stead of SELECTEDVALUE function it works. Hope that helps to calrify. Thanks

View solution in original post

5 REPLIES 5
Green_Cloud
Helper I
Helper I

Sorry for not clarifying it well earlier. I actually wanted to use the generateseries dax value in a slicer to use it as an input value. The issue was when I change the slicer it was not incrementing accurately. I got a solution for that. If you use MAX function in stead of SELECTEDVALUE function it works. Hope that helps to calrify. Thanks

Hi @Green_Cloud ,

 

I'm glad your problem was solved. Please mark your answer as the solution so that more people with the same problem as you can find the answer quickly.

 

SELECTEDVALUE() will check the count of current context, if it has two or more, it will return blank. For more details you can refer this guide.

SELECTEDVALUE function - DAX | Microsoft Docs

 

Best Regards

Community Support Team _ chenwu zhu

 

Thank you for your input. I marked as the way you suggested. Appreciate it!

v-chenwuz-msft
Community Support
Community Support

Hi @Green_Cloud ,

 

I test this function and it works well, please provide more details about your problem. Or you can change the type to Decimal Number.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

daXtreme
Solution Sage
Solution Sage

I'm afraid that with this amount of info... this question is impossible to answer.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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