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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
LucasValiante77
New Member

Colectables by date reporting

I'm having a trouble with my visualization on powerbi desktop,

 

I created a dashboard on customer debts, with the aim of monitoring customer debts, and I created metrics to organize debts into columns 0-30 days | 30-60 days | 60-120 days|

 

When I generate the table view, the line does not respect the order of the columns and simply adds up all the values

 

formulas below: 

 

Difference Days =
VAR DataAtual = MAX('LU DATA'[Data])
RETURN
CALCULATE(DATEDIFF( MAX('TBL Divida Clientes'[DataVencimento]),DataAtual, DAY), CROSSFILTER('LU Data'[Data],'TBL Divida Clientes'[DataRegisto],none))


 
01 - 30 Days =
if([Difference Days]>=01 && [Difference Days]<=30, [Dívida Pendente Moeda Original], blank())
 
It was supposed to show like this:
 
LucasValiante77_3-1733241344714.png

 

How it's right now:   

LucasValiante77_4-1733241377007.png

 


 

I can only see it organized when I add the document data to the line, but this is unfeasible as there are clients with +100 documents: 

 

LucasValiante77_5-1733241445380.png

 

 

I aprecciate if anyone can help me, thanks 🙂



2 REPLIES 2
Anonymous
Not applicable

Hi @LucasValiante77 

 

What is the DAX code for [Dívida Pendente Moeda Original]?

01 - 30 Days =
if([Difference Days]>=01 && [Difference Days]<=30, [Dívida Pendente Moeda Original], blank())

Please provide sample data that fully covers your question and describe the efforts you have already made in this table visual.

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

 

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

 

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.