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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
BTI_Afuentes
Helper I
Helper I

Create a table from 0 to a 'dinamic value'

Hi,

 

I have a list of methodologies and indicators for each methodology. Then I created a summarized table where I identified total MAX possible points for each Metodology.

Now I need to create a table (or maybe a column) with values from 0 to MAX points for each methodology.

New table (from 0 to 'total max points) will be used for a line chart)

 

How can that be achieved?

Thanks,

Angel

4 REPLIES 4
Greg_Deckler
Super User
Super User

So, sample data would help but perhaps something along the lines of:

Table Methodology 1 = GENERATESERIES(0,MAXX(FILTER('Table'),[Methodology] = "Methodology 1"),[Points]),1)

There is a good bet that all of the assumptions I made are incorrect.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

Is there any suggestion for creating the chart required? 

 

Thanks,

Angel

Hi,

 

Also, this is a link for a pbix file. Hope it helps

 

https://1drv.ms/u/s!AnDB-UKsg60w40wePfnmrXhzWiAE?e=aAFiZL

 

Thanks,

Thank you very much for your help Greg.

I'm attaching an example of the tables. I tried with your suggestion but is this for generate a table for each methodology? 

Projects table:

Project IDMethodology ID
Project 1Methodology 1
Project 2Methodology 2

 

Methodologies table (summarized table)

Methodology IDMax points
Methodology 1100
Methodology 2150
Methodology 390

 

Indicators table:

Indicator IDPointsMethodology ID
Indicator 120Methodology 1
Indicator 230Methodology 1
Indicator 350Methodology 1
Indicator 410Methodology 2
Indicator 520Methodology 2
Indicator 650Methodology 2
Indicator 770Methodology 2
Indicator 820Methodology 3
Indicator 920Methodology 3
Indicator 1020Methodology 3
Indicator 1130Methodology 3

 

New table:

(column 2 is a calculated by a formula: =1/(1+EXP(-(('Methodology max ponts'/2)-Column1')*LN(2)/4))

Column1Column2
099.98%
199.98%
299.98%
399.97%
499.97%
599.96%
 
1000.02%

 

chart required.png

I tried to attach an excel file but didn't find the option.

Thanks again,

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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