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
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.

@ 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!:
The Definitive Guide to Power Query (M)

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
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.

Top Solution Authors