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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello guys how are you, my question is the following and I've been trying to solve it for a while, I have a report in which there are several tables calculated and almost most of them use this format to update them:
Tbl_BXALLMKTS =
VAR SEM = {45,46,47,48,49,50,51,52,1,2,3,4,5,6}
RETURN
SUMMARIZE (
Data,Data[SEASON], Data[Color],
"BX", CALCULATE(SUM(Data[BX]), Data[Week] in SEM))
I also have this other code with another question:
It could be done with a for or while the part of the creation of the fields with the week number, where I give it the initial and final week and I create that part of the code
The idea is not to spend so much time adding the new week number in all the tables and code
Greetings and I hope you can help me
If you don't understand what I asked, let me know and I can give you more details
@Syndicate_Admin it will be easier if you share sample data with the expected output. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!