Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
khizerk
Frequent Visitor

Insert rows based on slicer value in calculated table

Hi,

 

I have created the following calculated table. Some sample data is below:

AccountCodeInvestmentCodeTransactionDateEndValLCYOpenValLCYTWR Open Bal LCYTWR End Bal LCYCashflowsPeriod TWR

35R5F5BXNYS:SYK26/03/2020 12:00:00 AM  0254391.35254391.351
35R5F5BXNYS:SYK29/04/2022 12:00:00 AM386016396880396880386016-945.20.975008062890546
35R5F5BXNYS:SYK31/01/2022 12:00:00 AM396880 254391.35396880-945.21.56383147461578
35R5F5BXNYS:SYK29/10/2021 12:00:00 AM  254391.35254391.35-856.81.00336803904693
35R5F5BXNYS:SYK30/07/2021 12:00:00 AM  254391.35254391.35-856.81.00336803904693
35R5F5BXNYS:SYK30/04/2021 12:00:00 AM  254391.35254391.35-856.81.00336803904693
35R5F5BXNYS:SYK29/01/2021 12:00:00 AM  254391.35254391.35-856.81.00336803904693
35R5F5BXNYS:SYK30/10/2020 12:00:00 AM  254391.35254391.35-7821.00307400389203
35R5F5BXNYS:SYK31/07/2020 12:00:00 AM  254391.35254391.35-7821.00307400389203
35R5F5BXNYS:SYK30/04/2020 12:00:00 AM  254391.35254391.35-7821.00307400389203

 

I would like to add rows for each distinct InvestmentCode in the parent table (Txns) with the transactiondate set to the date selected in a slicer. 

 

For example, if the user selected 31/07/2020 as the date on the slicer, no row would need to be added for InvestmentCode XNYS:SYK since it is already there, but would need to be added InvestmentCode ARCA:BRKB since the row is not there for that date. Wondering how to achieve this?

1 REPLY 1
Anonymous
Not applicable

Hi @khizerk ,

 Why did you add that row?What kind of results do you want? Does InvestmentCode ARCA:BRKB appear in the table? Could you please provide a screenshot with your desired output?

 

How to Get Your Question Answered Quickly  

 

Best Regards
Community Support Team _ Polly

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors