Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How to hide same value using Visual Studio 2010 ?

Posted on by 50

Hello, how to hide same value using VS ?

from:

pastedimage1591683463618v2.png

to:

pastedimage1591683991432v1.png

*have same invoice but Jumlah Barang value only need on the first one


pastedimage1591683847206v1.png

thanks in advance guys

  • Suggested answer
    Ardhi A Rahman Profile Picture
    Ardhi A Rahman 50 on at
    RE: How to hide same value using Visual Studio 2010 ?
    [quote user="Ardhi Aulia Rahman"
    Sergei Minozhenko said:

    Hi Ardhi,

    Just replace in your expression True with "" and False with Fields!JumlahBarang.Value.

    ok its clear thanks:
    pastedimage1591687860127v1.png

    but how to counter this case if there are just one and one line but different invoice ?

    before:
    pastedimage1591687976404v3.png

    after:

    pastedimage1591688025691v4.png

    what should i add on my IIF ?

    [/quote

    OKEH I FIXED IT THE CASE WITH THIS :

    pastedimage1591754900400v1.png

    =IIF((Fields!NoBuktiPIB.Value = Previous(Fields!NoBuktiPIB.Value)), "", Fields!JumlahBarang.Value)

    cause i have same invoice, but when i need another invoice with Jumlah Barang 1 and 1 but the invoice is different so i change the code.

    Thanks guys

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: How to hide same value using Visual Studio 2010 ?

    Hi Ardhi,

    You can try to write code in report properties, add your judgment conditions, and then pass code.YourFunctionName.

  • Ardhi A Rahman Profile Picture
    Ardhi A Rahman 50 on at
    RE: How to hide same value using Visual Studio 2010 ?
    [quote user="Blue Wang"]

    Hi Ardhi,

    =IIF((Fields!JumlahBarang.value = Previous(Fields!JumlahBarang.value)),"",Fields!JumlahBarang.value)

    [/quote]

    thanks for reply, its already clear. but i have another case to counter on comments

  • Ardhi A Rahman Profile Picture
    Ardhi A Rahman 50 on at
    RE: How to hide same value using Visual Studio 2010 ?
    [quote user="Sergei Minozhenko"]

    Hi Ardhi,

    Just replace in your expression True with "" and False with Fields!JumlahBarang.Value.

    [/quote]

    ok its clear thanks:
    pastedimage1591687860127v1.png

    but how to counter this case if there are just one and one line but different invoice ?

    before:
    pastedimage1591687976404v3.png

    after:

    pastedimage1591688025691v4.png

    what should i add on my IIF ?

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: How to hide same value using Visual Studio 2010 ?

    Hi Ardhi,

    =IIF((Fields!JumlahBarang.value = Previous(Fields!JumlahBarang.value)),"",Fields!JumlahBarang.value)

  • Verified answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: How to hide same value using Visual Studio 2010 ?

    Hi Ardhi,

    Just replace in your expression True with "" and False with Fields!JumlahBarang.Value.

  • Ardhi A Rahman Profile Picture
    Ardhi A Rahman 50 on at
    RE: How to hide same value using Visual Studio 2010 ?
    [quote user="Sergei Minozhenko"]

    Hi Ardhi,

    Could you, please, share your expression? You need to combine IIF statement where you compare current value and Previous and if it's the same return empty string, if not, return the current value.

    [/quote]

    if i doing like this:

    pastedimage1591686298035v1.png

    it will become like this:

    pastedimage1591686323792v2.png

    how to returning those value ?

  • Ardhi A Rahman Profile Picture
    Ardhi A Rahman 50 on at
    RE: How to hide same value using Visual Studio 2010 ?
    [quote user="Mahmoud Hakim"]

    you can modify the design and group by your field

    but you will create a level for group and details.

    group value 1

    details-----------

    group value 2

    details--------

    [/quote]

    thanks mahmoud for reply,

    how can i get these explanation / descriptions per point

    pastedimage1591685872534v1.png

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: How to hide same value using Visual Studio 2010 ?

    Hi Ardhi,

    Could you, please, share your expression? You need to combine IIF statement where you compare current value and Previous and if it's the same return empty string, if not, return the current value.

  • Ardhi A Rahman Profile Picture
    Ardhi A Rahman 50 on at
    RE: How to hide same value using Visual Studio 2010 ?
    [quote user="Sergei Minozhenko"]

    Hi Ardhi,

    Have you tried to use "Previous" function?

    docs.microsoft.com/.../report-builder-functions-previous-function

    [/quote]

    thanks Sergei for reply,

    thanks for the solution but it doesnt meet what i want

    pastedimage1591685576968v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans