cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shweta
Regular 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
Community Champion
Community Champion

@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
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it Out!

Join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!

Top Kudoed Authors