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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
barlevitzky
Helper II
Helper II

Create a complicated measure

Hi all,

I have the following table:

Date  Browser  Cost  Test

26.10 CH            5       A

26.10 FF             10     A

26.10 CH            10     B

26.10 FF             10     B

 

I want to create a view(table) that will look this:

           Test A                                               Test B

Date  CH FF  *Sum of test A Cost*  CH FF *Sum of test B cost*     **Measure (Sum of B / Sum of A)**

26.10  5   10           15                         10 10                20                                   1.33 (20/15)

 

I am trying to create the measures that marked with *.

 

Browser column has more than 2 type of values. 

 

Thanks in advance. 

 

1 ACCEPTED SOLUTION

Hi @barlevitzky,

 

You are missing the second input in the ALLEXCEPT function.  The first is the table which you have given.  The second input should be the column.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

17 REPLIES 17

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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