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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
eberthiaume
New Member

How to create a measure between 2 tables when there is a dimension filter?

Hi everyone,

 

I am hoping to find some help here! 

Context:

I am linking Google Analytics to Power BI. I would like to link 2 tables to calculate a metric, but I am facing some challenges.


I have 2 columns of Revenues:

• «Revenues»

• «Product Revenues» 

The data is calculated from different levels, but the «Product Revenue» is more accurate.

I want to be able to filter the «Product Revenues» by «Channel», but my «Channel» dimension is linked to the « Revenue » column. 

As all of the other dimension and metrics of my dashboard are linked to « Product Revenue », I would like to find a way to filter by « Channel » with the «Product Revenue» metric. Is there a way? 

I though of a formula taking the % of Grant total of «Revenue» and multiply it by the «Product Revenue». In other words, the proportions of the «Channels» would be applied to the «Product revenue». (See in red below). 

Note: the only column that allows me to link to table is the date, but in this case the 2 metrics come from the same database.

 

Screen Shot 2018-03-28 at 5.25.22 PM.png

Thanks in advance for your help! 

Emilie

 

 

 

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @eberthiaume,

 

If [Revenue] and [Product Revenue] are stored in the same table, [Channel] dimension is linked to [Revenue], the calculation for [Product Revenue] will also be affected by the [Channel] selection.

 

Regards,

Yuliana Gu

 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.