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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Producing Calculated Table with Distinct/Unique Values w/ Filters

Hello!

 

I'm trying to create a dashboard that produces visuals on YTD manual entries created by the accounting department at my organization. Specifically, I'm trying to produce a new table using the datasets I've pulled in from Excel.

 

My dataset lists out information about all journal entries processed YTD in People Soft with various fields (Cols A to AW). The essential fields/columns include: Journal ID, Accounting Month, User that inputted the entry, a column that indicates whether the user is in the accounting dept or not (indicated through "True" vs. "False" in text format), the dollar value of the entry and lastly, the type of entry (i.e. Manual vs. automated - again indicated in text format). 

 

I've pulled that data into Power BI desktop and am now trying to create a calculated table where the 1st column produces a list of distinct Journal IDs (unique values with no repititions). However the distinct list has to be filtered for journal IDs pertaining to accounting users only and only manual entries. With the filtered and distinct list, I then want to produce a 2nd column next to it that performs a sum of the total dollar values applicable to the Journal IDs in the first column (below is a screenshot of what I need my table to look like): 

 

PJ124_0-1637861432976.png

 

 

I've tried using DAX functions like calculate table but that doesn't work due to my filters being in text format. Functions like filter and summarizecolumns haven't been helpful either! 

 

Any help on this would be greatly appreciated! 

 

Thank you!

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Sorry I can't get your sample clearly ,it's too vague.

Please refer to this blog to learnHow to provide sample data in the Power BI Forum

 

Best Regards,
Eyelyn Qin

smpa01
Super User
Super User

@Anonymous  can you provide sample data and desired output?

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

Here is a Sample Data Set

PJ124_3-1637862763511.png

 

 

 

And here is what I want the output to look like: 

PJ124_5-1637863106790.png

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors