Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I need help for do a foreach. I want to calculate week number foreach send number but i have any times the send number so i want calculate the week number just one time foreach send number.
It's my formula but now i want to do this for send number
Délain livraison en semaine = IF('Expédition'[Délais]="RETARD";ROUNDDOWN('Expédition'[Interval]/-7;0))
Solved! Go to Solution.
Hi @AlexGallet01,
You can use Find() function to create a calcualted column like this:
Column = IF(FIND(160170,'Table1'[Column1],5,0)>0,-2,BLANK())
Best Regards,
Qiuyun Yu
Basically I have an expedition with several different lines. Everything with the same difference but since it is the same expedition I want to retrieve only one of the retuned values.
100-160170-011 -> -2
100-160170-025 -> -2
I want for 160170-> -2
Hi @AlexGallet01,
You can use Find() function to create a calcualted column like this:
Column = IF(FIND(160170,'Table1'[Column1],5,0)>0,-2,BLANK())
Best Regards,
Qiuyun Yu
Hi @AlexGallet01,
Would you please share some sample data and expected results for our analysis?
Best Regards,
Qiuyun Yu
I want to do a foreach to calculate the number of weeks of delays in sending by number of shipments knowing that this number exists several times in my table.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |