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
gvamsimba
Regular Visitor

Need help with creating a DAX measure for powerbi report matrix visual

Hi, 

I am creating a matrix visual in powerbi and I need to create the below 2 measures.

 

% of Booking Value A measure so we can break down the % of overall booking cost for a route by sales channel
% of Booings A measure so we can break down the % of overall booking numbers for a route by sales channel

 

Can you please provide me with that DAX for the above 2 measures ? the table name is ChannelShare and the columns required for the above measures are ROUTE,UNITPRICE AND SALESCHANNEL. at the moment Saleschannel is in the columns list and Route is in my Rows list in the matrix.

 

Many Thanks

2 REPLIES 2
gvamsimba
Regular Visitor

Hi @devanshi , thanks for this but when it says invalid column name when i start to type unitprice. 

 

can I please have the full formula ? the table name is ChannelShare.

 

Many Thanks

devanshi
Helper V
Helper V

%Bookingvalue=Divide(UNITPRICE,SALESCHANNEL)

 

%Booking=Divide(%BookingValue,SALESCHANNEL)

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.