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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
TienNog
Frequent Visitor

Creat general ledger details by using PBI

Hi friends,

I am learning PBI and going to create general ledger detail by using power BI. I send template data here, I am very appreciate if anyone can help to give me a solution. Thank you very much.

 

https://docs.google.com/spreadsheets/d/151ZhnrwkdDw48_rCLhjtuAr8Tqt1SY-Q/edit?usp=drive_link&ouid=11...GL-PBI.jpg

 

4 REPLIES 4
TienNog
Frequent Visitor

Who can help me this matter? I can not find out any solutions for this.

TienNog
Frequent Visitor

anyone can help me the solution?

Anonymous
Not applicable

Hi @TienNog ,

 

I suggest you to create a measure to filter your visual.

Filter = 
VAR _SELECTION =
    SELECTEDVALUE ( DimAccountShort[AccountShort] )
VAR _JournalCombine =
    CALCULATE (
        MAX ( 'Table'[JournalCombine] ),
        FILTER ( ALL ( 'Table' ), 'Table'[AccountShort] = _SELECTION )
    )
RETURN
    IF (
        AND (
            MAX ( 'Table'[JournalCombine] ) = _JournalCombine,
            MAX ( 'Table'[AccountShort] ) <> _SELECTION
        ),
        1,
        0
    )

Add this measure into visual level filter and set it to show items when value = 1.

vrzhoumsft_0-1695278843473.png

 

Best Regards,

Rico Zhou

 

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

Dear @Anonymous , thank you for your solution, but unfortunately it still doesn't work as my expectation. the result that I want report to show as screenshot. I tried a few adjustments to the measure but the results were not as expected. I would appreciate if you could review my expectation results as below. Thank you in advance.GL_PBI_expectation.png 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.