cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Shweta Frequent Visitor
Frequent Visitor

How to use a For Loop in a Products Group

 I have two tables like Lookup and Product .In these two tables have two different date Columns. I want to Calculate the sum of amount "column" of product table. If any date of product table lies between Lookup table date then I have to calculate that amount .Is there any possibility for something like a "FOR Loop"

 

 

1 REPLY 1
ankitpatira Super Contributor
Super Contributor

Re: How to use a For Loop in a Products Group

@Shweta To do this in powerbi you woudl need to consider using DAX. I would suggest if possible better do it at your data source level (if you have SQL data source it would be very easy to do this).

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 47 members 949 guests
Please welcome our newest community members: