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
engyin2
Frequent Visitor

How to tag a measure with a selected category?

Hi, 

 

I have details transaction from SAP source but there is top level adjustment done outside SAP system hence the reported number is lower than the SAP total sum.

I have created the below measure to calculate the top level in BI. May I know how to tag the calculated amount with "Other Supplier" so that I can have the reported number by Supplier inc. the top level adj ?  Please help. Thanks.

 

Capture.PNG

3 REPLIES 3
Floriankx
Solution Sage
Solution Sage

Hello,

 

you could try and add an additional table to your BI:

Table: Top_N_Group

GroupID
Total SAP1
Other Supplier2

 

 

Wraper Top N:=IF(ISFILTERED(Top_N_Group[Group]),
 SWITCH(MAX(Top_N_Group[ID]),
  1,[Total SAP],
  2,[Top Level],
Blank())

 

Then you create a Pivot with your Group as row your supplier as row below and [Wraper Top N] as value.

Hi, 

I am trying to have the calculated measured to have vendor categorised as "Other Vendor" but not sure how to write the DAX formula to have it tag.

 

Below is the visual I would like to have in BI. Thanks.

 

Capture.PNG

Hi anyone can help?

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.

Top Solution Authors