cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JurGle New Member
New Member

Need Help with semi additive measures with String Value

Hi Guys,

 

i have this DAX formula which works fine:

 

Mengeneinheit :=
SWITCH (
    TRUE;
    ISFILTERED ( Produkte[Artikelbezeichnung] ); IF (
        HASONEVALUE ( Fakten[Mengeneinheit] );
        VALUES ( Fakten[Mengeneinheit] )
    );
    ISFILTERED ( Produkte[Artikelnummer] ); IF (
        HASONEVALUE ( Fakten[Mengeneinheit] );
        VALUES ( Fakten[Mengeneinheit] )
    );
    BLANK ()
)

 

But i want that some fields are ignored in the Filter context form the fact table like

  all ('Geschäftsart');

 

Thanks in advance
Jürgen

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Need Help with semi additive measures with String Value

Hi @JurGle ,

 

>>But i want that some fields are ignored in the Filter context form the fact table like all ('Geschäftsart');

 

I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 6 members 1,592 guests
Please welcome our newest community members: