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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.