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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dracul
Regular Visitor

Related tables

erro nh.jpg

I have a problem in powerbi, I need to multiply the value of the table "folha1'hours" by the table "Valor Houras Data 'valor hora", and it has to filter using the "create login name" and "Date" column.

What is the best way?

Best regards

1 REPLY 1
MattAllington
Community Champion
Community Champion

Assuming you mean mes[date] when you say date, try this

 

=sumx(crossjoin(mes,collabor),calculate(sum(folha1[hours]) * SUM(table[valor hora])))

 

you will have to adjust the formula for the correct table names and column names. Also I don't know if sum is correct, or if you need something else. The general pattern looks like it should work to me however.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.