Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am having some issues with cross column multiplication based on a date filter and a measure. I am requring a column that contains multiple rows of numerous values to be multiplied by a measure. This measure has been filtered by the same thing that the new column will be filtered with. I have tried doing sumx and a filter combined together. Although, I am having little luck.
The Total_Fuel_Consumed is the outcome. The Fuel Consumption (L/Hr) is the column that needs to be mulitplied with the measure. The measure is a value of hours for specific items, which it is filtered by a specififed date. Example of table and slicer (below) in reproting view, containing measurement (SMU Total) and corresponding plant_no.
If someone could assist that would be awesome!
@mdykes ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.
Hi Amit, I hope this may help clarify.
Query 1 is a query containg the tables in the Example. Query 2 is a query containing different information. Currently, the Machine Hour reading table (Screenshot below) is a Measure that is visible in the visualisations tab of Power Bi and contains an Hour reading corresponding to the Machine with a date acting as a filter. This allows me to sum a reading based on a filtered date and corresponding Machine.
The code for this Sum calc for the Hours is below, date filter created with relationship
Hour Total = SUMX(VALUES('XXXXX Vehicle Information'[machine]),[Hour total calc]) ---> 'Measure'
The outcome required is a mulitplication of the Fuel consumption rate column and the Machine Hour reading 'Measure' to create a Fuel used column filtered by a date. This would give a summed value. Would this be a measure?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |