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
rishic
Frequent Visitor

DAX to generate series

 

I have my base table like below:

 

Cust_Class1_Factor2_Factor
C130.2
C220.4

 

Need to generate a table using DAX:

 

1. 1st column is a Series that start from 5 and goes till 9 with diffrence of 0.1(Generate series)

2. 2nd column is calculation based on base table and 1st column.

 

Sample Output:

 

PowerConsum
5.11_Factor * power(5.1,2_Factor)
5.21_Factor * power(5.2,2_Factor)
5.31_Factor * power(5.3,2_Factor)
5.41_Factor * power(5.4,2_Factor)
5.51_Factor * power(5.5,2_Factor)
5.61_Factor * power(5.6,2_Factor)

 

Can someone please help to create above output.

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @rishic,

 

What's values of the column "Consum" exactly? For example:

Power           Consum

5.1                3 * power(5.1, 0.2)     // C1

5.1                2 * power(5.1, 0.4)    // C2

 

Which row is the one you want?

                 

Best Regards,

Dale  

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

 

Both the rows, it will be plotted in a line graph from C1 and C2.(Cross join I guess)

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors